PPROP

Synopsis
PPROP plistname propertyname value
Description

Adds a property to the property list named plistname. The property will be named propertyname and have the value value. If no property list named plistname exists, then it will be created. If the property named propertyname already has a value in the property list, then the value is replaced.

Both plistname and propertyname must be words.

Example
PPROP "plist1 "p1 1
PPROP "plist1 "p2 2
PPROP "plist2 "p1 10
PPROP "plist2 "p2 20

SHOW GPROP "plist1 "p1
1
SHOW GPROP "plist1 "p2
2
SHOW GPROP "plist2 "p1
10
SHOW GPROP "plist2 "p2
20

SourceForge.net Logo