PROPLIST.Exists |
status = PROPLIST.Exists( [propname AS STRING=NULL] ) AS INTEGER
If the Property Name argument is omitted, then the function returns 1 if a PROPLIST exists otherwise it returns 0. If a Property Name has been supplied, then the function checks if the property exists and returns 1 if it does exist or 0 if it isn't found.
The function uses the default panel selected by using PROPLIST.SelectPane.
Example:
IF PROPLIST.Exists( "Name " ) THEN PRINT "Name: ";PROPLIST.GetValue( "Name" ), ELSE PRINT "Name: Unknown", ENDIF
IF PROPLIST.Exists() THEN PROPLIST.Close() ENDIF
|