Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG? - PEMSTATUS errors when '4' and prop. not exists
Message
 
 
To
11/06/2003 08:43:28
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00798596
Message ID:
00798855
Views:
29
I don't understand why you compare PEMSTATUS(..,5) and PEMSTATUS(..,4). The PEMSTATUS(..,5) is specificly designed to check if property exists or not and it's reflected in the help file. The PEMSTATUS(..,4) allows to check intrinisic or user defined attribute of existing properies. There's no mention in the help that it can be used for non-existing property.

>It's when the property doesn't exist that it errors. It does not return .f., it produces an error, unlike PEMSTATUS(_screen,'Printscr',5) which returns false if the property does NOT exist. I believe it is a bug because the help file states that both should return .f. if the property does not exist. You cannot use 4 to see if the property exists or not because of the error.
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform