Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code it better
Message
From
19/08/2008 12:09:57
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Code it better
Miscellaneous
Thread ID:
01339981
Message ID:
01339981
Views:
59
I was thinking replacing this
IF PEMSTATUS(_VFP, [ActiveProject], 5) AND ;
    [O] = TYPE("_VFP.ACTIVEPROJECT") AND ;
    !EMPTY(_VFP.ACTIVEPROJECT.HOMEDIR)

	* Do something
ENDIF
With
IF [C] = TYPE([_VFP.ACTIVEPROJECT.HOMEDIR]) AND ;
    !EMPTY(_VFP.ACTIVEPROJECT.HOMEDIR)

	* Do something
ENDIF
Any better suggestion?
Next
Reply
Map
View

Click here to load this message in the networking platform