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


Hidden Keyvals

Data privacy is an important issue in most multi-user systems.

Muq meets this need by equipping objects with an area for hidden keyvals visible only to the owner of the object. This area is otherwise identical to the area in which public keyvals are stored, and is accessed by using $h. of instead of . as the object/key separator.

Stack:
makeIndex --> a      
Stack:
makeIndex --> a$h.b     ( Hidden key :b on obj a. )
Stack:
makeIndex --> a$h.b$h.c  ( Hidden key :c on obj a$h.b. )
Stack:
13 --> a$h.b$h.c$h.d        ( Hidden key :d on obj a$h.b$h.c. )
Stack:
a$h.b$h.c$h.d
Stack: 13                ( Sure enough! )

Again, the final expression could be coded "by hand" if we wanted:

Stack:
a :b hiddenGet :c hiddenGet :d hiddenGet


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