Argument: Nested vector of property-value pairs
Result: None
Valid for: Any object
The Set method allows you to set multiple property values in a single statement, using ŚWI syntax (it cannot be used with dot notation). The argument is a nested vector of property names and values.
For example, the following sequence sets three properties for an 'OK' button:
'Win.But' ŚWI 'where' 5 9 'Win.But' ŚWI 'title' 'OK' 'Win.But' ŚWI 'enabled' 0
You can achieve the same result in one statement using the Set method as follows:
'Win.But' ŚWI 'Set' ('where' 5 9) ('title' 'OK') ('enabled' 0)