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


System Keyvals

Muq objects have various special hardwired properties on them, such as their owner, class, creation date and time, and so forth. Keeping these in a separate system area on the object keeps them out of the way when they are not of interest, and makes them easy to find when they are.

Muq provides access to this area via the $s. object/key separator. (Do .muq lss or .sys lss for examples of interesting system values.)

Thus, you will also need to be connected as Root to do this example:

Stack:
makeIndex --> a      
Stack:
makeIndex --> a$s.b     ( System key 'b' on obj a. )
Stack:
makeIndex --> a$s.b$s.c ( System key 'c' on obj a$s.b. )
Stack:
15 --> a$s.b$s.c$s.d      ( System key 'd' on obj a$s.b$s.c. )
Stack:
a$s.b$s.c$s.d
Stack: 15                 ( Surprise? )

The hand-coding for the final expression is:

a :b systemGet :c systemGet :d systemGet


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