[ ... | File: muf.c job.t Status: alpha
This operator pair provides a convenient way of pushing a block on the stack:
Stack: [ 1 '3' "a" 'hiMom! | Stack: [ 1 '3' "a" 'hiMom! |
This operator pair is particularly handy in constructing a stack block to pass to a function. For example, "]print" is muf's equivalent to C sprintf, and takes as arguments a block containing a format string followed by any arguments to be formatted:
Stack: 14 --> count "rabbits" --> what Stack: [ "I have %d %s." count what | ]print Stack: "I have 14 rabbits."
Go to the first, previous, next, last section, table of contents.