Migrate to Harbour
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Migrate to Harbour
Enrico,
If I properly understand you, what you want should get solved this way:
[\{| [<oMenuItem>] | <uAction>\}],;
If with this change is working right, then we modify FiveWin.ch and problem solved
If I properly understand you, what you want should get solved this way:
[\{| [<oMenuItem>] | <uAction>\}],;
If with this change is working right, then we modify FiveWin.ch and problem solved
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Migrate to Harbour
But it is not a proper solution, because that oMenuItem is not this one:
#xcommand MENUITEM [ <oMenuItem> PROMPT ] [<cPrompt>]
because it could be used from the codeblock, but not defined there.
In other words, the codeblock parameter oMenuItem should only exist if it is used from the codeblock inside code. As far as I know the Harbour preprocessor (neither Clipper's one) provides support for that.
#xcommand MENUITEM [ <oMenuItem> PROMPT ] [<cPrompt>]
because it could be used from the codeblock, but not defined there.
In other words, the codeblock parameter oMenuItem should only exist if it is used from the codeblock inside code. As far as I know the Harbour preprocessor (neither Clipper's one) provides support for that.
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Migrate to Harbour
Antonio,
EMG
Please note that this is only one of many warnings we can receive.Antonio Linares wrote:Enrico,
If I properly understand you, what you want should get solved this way:
[\{| [<oMenuItem>] | <uAction>\}],;
If with this change is working right, then we modify FiveWin.ch and problem solved
EMG
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Migrate to Harbour
Antonio,
EMG
So? Ok, I will lower warning level to try Harbour but we need of a proper solution.Antonio Linares wrote:But it is not a proper solution, because that oMenuItem is not this one:
#xcommand MENUITEM [ <oMenuItem> PROMPT ] [<cPrompt>]
because it could be used from the codeblock, but not defined there.
In other words, the codeblock parameter oMenuItem should only exist if it is used from the codeblock inside code. As far as I know the Harbour preprocessor (neither Clipper's one) provides support for that.
EMG
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Migrate to Harbour
Enrico,
Clipper did not support that, as far as I know, neither Harbour (or xharbour). If the warning that you get comes from the codeblock (have you checked this ?) then I don't see a solution.
BTW, I am sure that you will love this:
http://forums.fivetechsupport.com/viewt ... 05#p161905
OMG, just to report a bug...
Clipper did not support that, as far as I know, neither Harbour (or xharbour). If the warning that you get comes from the codeblock (have you checked this ?) then I don't see a solution.
BTW, I am sure that you will love this:
http://forums.fivetechsupport.com/viewt ... 05#p161905
OMG, just to report a bug...
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Migrate to Harbour
I just lowered warnings level from /w3 to /w.
EMG
EMG
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Migrate to Harbour
Antonio,
EMG
So /w3 and /w2 are not useable with Harbour/FWH.Antonio Linares wrote:Enrico,
Clipper did not support that, as far as I know, neither Harbour (or xharbour). If the warning that you get comes from the codeblock (have you checked this ?) then I don't see a solution.
"How to Donate"? Is it a joke?Antonio Linares wrote:BTW, I am sure that you will love this:
http://forums.fivetechsupport.com/viewt ... 05#p161905
LOL
I don't understand. What bug?Antonio Linares wrote:OMG, just to report a bug...
EMG
Re: Migrate to Harbour
Enrico,Enrico Maria Giordano wrote:Cristobal,
If you are suggesting to change tons of lines of code, well, it's not an option.cnavarro wrote:Enrico, look the .ppo
Code: Select all
oMen := MenuBegin( .F.,,, .F., .F. ) MenuAddItem( "Test",, .F.,, {|oMenuItem|MSGINFO( "OK" )},,,,,,, .F.,,, .F. ) MenuEnd()
EMG
Not what I meant
Was only to document where the warning comes from varying oMenuitem
No es lo que queria decir
Solo era para documentar de dónde viene el warning de la variable oMenuitem
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Migrate to Harbour
Enrico,
In https://raw.githubusercontent.com/vszak ... IBUTING.md please read from:
You will understand what I mean
In https://raw.githubusercontent.com/vszak ... IBUTING.md please read from:
Now read the list of tasks to be done before asking for a question# Troubleshooting
Evaluate these points before reporting an issue:
You will understand what I mean
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Migrate to Harbour
Antonio,
GOSH! It's just like to say "Please do not disturb. We are playing with our toy.".
EMG
GOSH! It's just like to say "Please do not disturb. We are playing with our toy.".
EMG