General information
Category:
Coding, syntax & commands
Reza
check the help for #define. The constant is only available in the program that creates it.
Nick
>Hi all,
>I want to use from #DEFINE. but i have problem with use of it
>
>*** Program1.prg
>#DEFINE MAXITEMS 10
>DO program2.prg
>
>*** Program2.prg
>CLEAR
>FOR gnCount = 1 TO MAXITEMS
> ? gnCount
>NEXT
>
>*** ERROR : Variable 'MAXITEMS' is not found.
>
>i think i am wrong in use of this command.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only