Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Slow To Save In Form Designer
Message
 
To
14/10/2002 10:27:05
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00710859
Message ID:
00710929
Views:
13
Hi Hilmar.


>The reason it won't affect performance during execution is that each occurence of the constant is replaced by the constant at compile time.
>
>For instance:
>
#DEFINE PI 3
>
will replace each occurrence of PI with 3 in your code (1) - the compiled code will work exactly as if you had typed 3.
>
>The constants are used for easy maintenance of your program.
>
>
>Notes:
>
>(1) OK, I know that this is not extremely accurate... but this value was actually used in the past, sometimes even declared by law.


Thanks for the help.

By the way ... laws sometimes can create the most bizarre things !

Best.
Ivan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform