Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why define constants
Message
From
25/10/2006 16:30:26
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01164235
Message ID:
01164560
Views:
8
>Defines can be fun:
>
>#DEFINE if_if_if_you_stutter   ConditionsTab.Affliction = "Stammer"
>#DEFINE e_e_e_endif            Endif
>#DEFINE Its_cos_of_yer_nerves  = MESSAGEBOX("Patient suffers from a Nervous Condition", O_O_O_O_K, "Nervous Condition")
>
>If if_if_if_you_stutter
>    Its_cos_of_yer_nerves
>e_e_e_endif
>
Actually, I once tried to write Fox in Serbian (probably back in 2.6) and it worked, looked funny, and didn't serve any meaningful purpose:
#define otvori use
#define odaberi   select
#define prozor    window
#define naslov     title
#define potegni   activate
#define iz        from
With a good .h file, you can write Fox in Chinese if you like. Just set cpcompile to whatever you need.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform