Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Slim Code - List of Shortcuts?
Message
From
01/07/2010 12:20:41
 
 
To
01/07/2010 12:04:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01471199
Message ID:
01471205
Views:
82
Glad you caught that one with the empty function.

I was suggested to use the empty fundtion for the same syntax examples on some older code.

I actually would have preferred: IF EMPTY(ALLTRIM(test)) myself. removes only one check, but maintains accuracy (if test is a char of course), and could be spaces as Gregory brought up.

maybe we should take the examples so far and see if we can build a good size list to help others and/or discuss...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform