Go to the first, previous, next, last section, table of contents.


set

Function: set
file: job.t
package: muf
status: alpha

The set function takes an object and a keyVal pair and stores the keyVal pair in the public area of the object:

makeIndex --> o
Stack:
1 o "a" set
Stack: 
o keysvals[
Stack: [ "a" 1 |

Note: Path notation is usually more convenient, but the set function is more general in that any value may be used as the key. Path notation compiles into code which includes this or a related function.


Go to the first, previous, next, last section, table of contents.