Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know the existance of PEM
Message
 
 
To
11/02/2006 02:56:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
MySQL
Miscellaneous
Thread ID:
01095618
Message ID:
01095656
Views:
13
>How can I know the existance of PEM eg. I like to know whether the property named pDate already defined.

You can use PEMSTATUS(,, 5)
loObj = CREATEOBJECT("Empty")
ADDPROPERTY(loObj, "Prop1", "Some Value")
? PEMSTATUS(loObj, "Prop1", 5)		&& .T.
? PEMSTATUS(loObj, "Prop2", 5)		&& .F.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform