They are used to include or exclude blocks of code. Cool for debugging stuff. Ex:
#DEFINE DEBUGMODE .T.
#IF DEBUGMODE
ON KEY LABEL F3 DEBUG
#ENDIF
When DEBUGMODE is .T. the OKL is compiled into the code. When .F. it's not compiled in the code.
I'm there are many other uses as well
hth
>Roi
>
>What about the #IF.....#ENDIF statement, what would the purpose of these be?
>
>Thanks
>Kev
Roi
'MCP' Visual FoxPro
In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!