Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
#DEFINE - Why?
Message
From
31/03/2008 15:43:06
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01306848
Message ID:
01307111
Views:
13
>I didn't say it doesn't work, just not pratical
>
>An invoice subtotal and Tax amount would vary for every invoice, thus cannot be constants unless you are only referencing 1 invoice, which seems pretty silly.
>

Bob:

#Define is used in this case to replace the NAME of the variables, not the VALUE of the variables , its like doing a search and replace of your code and changing the name of a variable named "InvoiceSubTotal" with a name of "_0lOlOl"

Carlos
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform