PC Logo Wiki
Register
Advertisement

Syntax

PPROP name propertyname object

​Explanation

PPROP assigns a property pair to a Logo name. PPROP takes three inputs: the first, the name with which a property list should be associated; the second, the property name; the third, the property value.

The first input to PPROP must be a word; the second and third inputs can be either a word or a list. PPROP stands for "Put Property."

A property pair consists of a property name and its value.

See also GPROP, PLIST, POPLS, PPROPS, and REMPROP.

Examples

? PPROP "MUSIC "COMPOSER "STRAVINSKY

? PPROP "MUSIC "COMPOSITION "PETROUCHKA

? PLIST "MUSIC

Result: [COMPOSITION PETROUCHKA COMPOSER STRAVINSKY]

?

Advertisement