Search found 156 matches: preprocessor

Return to advanced search

Re: En tiempo de compilacion...

... , <id> => ? #<x> or: #xcommand CMD <*x*> END => ? #<x> are accepted by Clipper PP but they cannot match any line. 3. Preprocessor should extract all quoted strings and create separated tokens from them. The string tokens contents cannot be modified later by any rules. ...
by Antonio Linares
Tue Aug 26, 2014 7:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: En tiempo de compilacion...
Replies: 3
Views: 1568

Re: Migrate to Harbour

... 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. So? Ok, I will lower warning level to try Harbour but we need of a proper solution. EMG
by Enrico Maria Giordano
Sat Jul 05, 2014 2:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migrate to Harbour
Replies: 85
Views: 12151

Re: Migrate to Harbour

... 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.
by Antonio Linares
Sat Jul 05, 2014 2:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migrate to Harbour
Replies: 85
Views: 12151

Re: Leto DB experiences

... in this time. Knowing Alexander Kressin as I know him (he helped a lot when we started building Harbour: he wrote the DBFNTX RDD, the first preprocessor (though lately Przemek, replaced it), and helped on so much more areas) I am sure that Leto DB must be much better now than back in 2010. ...
by Antonio Linares
Thu Jun 12, 2014 9:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Leto DB experiences
Replies: 4
Views: 738

Re: Proportinal font size according to window resolution

... to: oFont := TFont():New( "Courier New", 0, -10,, .T.,,,,,,,,,,, oPRINT, ) So there is no change in the font spec in points by the preprocessor. Regards, James
by James Bott
Wed May 28, 2014 2:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Proportional font size according to window resolution
Replies: 17
Views: 4265

Re: Preprocessor advice needed? (SOLVED)

Hakan,

Yes, you are right, the problem is that <oData> exists so the entire clause is NOT optional.

In such case, yes, the above posted working solution is the right one :-)
by Antonio Linares
Sat May 03, 2014 10:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preprocessor advice needed? (SOLVED)
Replies: 8
Views: 1084

Re: Preprocessor advice needed? (SOLVED)

Hakan, Yes, I missed the first line, sorry You can make it entirely optional too: [ <oData>:= <oPtype>:Clone() ;] ; Hi Antonio I tried your suggested solution and It does not work. ppo result is below. ooTb_Temp:=:Clone(); ooTb_Temp:D_AC(,, .F.,, .T., "ADR_0", .F.&...
by Horizon
Sat May 03, 2014 8:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preprocessor advice needed? (SOLVED)
Replies: 8
Views: 1084

Re: Preprocessor advice needed? (SOLVED)

Hakan,

Yes, I missed the first line, sorry

You can make it entirely optional too:

[ <oData>:= <oPtype>:Clone() ;] ;
by Antonio Linares
Fri May 02, 2014 2:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preprocessor advice needed? (SOLVED)
Replies: 8
Views: 1084

Re: Preprocessor advice needed? (SOLVED)

Hi <oData>:= If(<.oPtype.>, <oPtype>:Clone(), NIL)        // Note <.xxx.> label<oData>:D_AC(<xxIND>, <xxK>, <.lSoftSEEK.>, <xxALIAS>, <.lReadOnly.>, ;                        <xxcORDER>, <.lOpenMode.> )  ...
by Horizon
Fri May 02, 2014 12:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preprocessor advice needed? (SOLVED)
Replies: 8
Views: 1084

Re: Preprocessor advice needed?

Hi <oData>:= If(<.oPtype.>, <oPtype>:Clone(), NIL)        // Note <.xxx.> label<oData>:D_AC(<xxIND>, <xxK>, <.lSoftSEEK.>, <xxALIAS>, <.lReadOnly.>, ;              &...
by hmpaquito
Fri May 02, 2014 12:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preprocessor advice needed? (SOLVED)
Replies: 8
Views: 1084

Re: Preprocessor advice needed?

Thank you Antonio, but there is two command line in => <oData>:= <oPtype>:Clone()<oData>:D_AC(<xxIND>, <xxK>, <.lSoftSEEK.>, <xxALIAS>, <.lReadOnly.>, ;                        <xxcORDER>, <.lOpenMode.> ) oPType is first i...
by Horizon
Fri May 02, 2014 11:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preprocessor advice needed? (SOLVED)
Replies: 8
Views: 1084

Re: Preprocessor advice needed?

or

<xxcORDER>, <.lOpenMode.>, [<oPtype>] )

in case you may add some new parameters in the future
by Antonio Linares
Fri May 02, 2014 10:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preprocessor advice needed? (SOLVED)
Replies: 8
Views: 1084

Re: Preprocessor advice needed?

Hakan, #xcommand DOSYA_ACN <oData>;            [PTYPE <oPtype>]  ;                <<<=========            [INDEX <xxIND>] ;        &...
by Antonio Linares
Fri May 02, 2014 10:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preprocessor advice needed? (SOLVED)
Replies: 8
Views: 1084

Preprocessor advice needed? (SOLVED)

Hi I have a to xcommand like below. #xcommand DOSYA_AC <oData>;            [INDEX <xxIND>] ;            [ORDER <xxcORDER>]  ;            [ISLEM <xxK>];            [ <lSoftSEEK: SOFTSEEK> ] ;            [ALIAS <xxALIAS>] ;   ...
by Horizon
Fri May 02, 2014 9:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preprocessor advice needed? (SOLVED)
Replies: 8
Views: 1084

Error E0030 problem and solution

... as I changed it to "IDno" - mixed case - then the problem went away. There was no variable declaration in any .ch files going into the preprocessor that conflicted to account for this. So it seems there can be case sensitivity and maybe some "magic words" that can cause problems. ...
by Roger Seiler
Sat Apr 05, 2014 7:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error E0030 problem and solution
Replies: 3
Views: 761
PreviousNext

Return to advanced search