GPROPplistname
propertyname
Outputs the value of the property named propertyname
in the property list named plistname
, or the empty list if there is no such property or property list.
The plistname
input must be a word.
The propertyname
input may be word, list, or array.
Property names are compared in the same manner as EQUALP compares its inputs.
PPROP "plist1 "p1 1 PPROP "plist1 "p2 2 PPROP "plist2 "p1 10 PPROP "plist2 "p2 20 PPROP "plist2 [p 3] 30 SHOW GPROP "plist1 "p1
1SHOW GPROP "plist1 "p2
2SHOW GPROP "plist2 "p1
10SHOW GPROP "plist2 "p2
20SHOW GPROP "plist2 [p 3]
30