Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code it better
Message
 
 
To
19/08/2008 12:09:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01339981
Message ID:
01339983
Views:
12
>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?

I think the second variation is OK as is. What is the bigger picture?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform