Hi Borislav,
>
To have Messagebox("2"), You must change the program & header file:Thanks, now I got the idea!
As I could see in the help file:
#DEFINE ... #UNDEF Preprocessor Directive"You can use the #DEFINE and #UNDEF preprocessor directives to create compile-time constants in programs." #DEFINE ConstantName eExpression...eExpression Specifies the value of the compile-time constant. eExpression can be a name or an expression that evaluates to a character, numeric, currency, date, datetime, or logical value. There is a means to span
eExpression across many lines?
Something like:
#Define StatementeSequence For I = 1 to 10
MessageBox (Str (I))
EndFor
Regards,
Fernando
>To have Messagebox("2"), You must change the program & header file:>
>
>
>** Test.PRG
>
>MessageBox("1")
>#inculde Test.h
>cTest
>MessageBox("3")
>
>
>
>***** Test.h
>
>#define cTest MessageBox("2")
>