Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it okay to name a function True()
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6 SP5
Database:
Firebird
Miscellaneous
Thread ID:
01097002
Message ID:
01097037
Views:
11
Hi Sergey

Thanks for your replies.

>Neither _True nor IsTrue will be affected by above #DEFINE because VFP replaces the whole words only. Anyway, I would go with Craig suggestion elsewhere in this thread.

That is a relief. So I guess I can safely stick to _True as opposed to IsTrue() as below:
#define True .T.
IF _True(xx)
   ...
ENDIF
IF NOT _True(xx)
   ...
ENDIF
as opposed to
IF IsTrue(xx)
   ...
ENDIF
IF NOT IsTrue(xx)
   ...
ENDIF
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform