@@ -309,7 +309,7 @@ contain junk upon `raiseerror` from the called resource. (`raiseerror` only
309309attempts to clean up the stack use by own resource.)
310310
311311Any example is "wrapper encoders" that delegate to another encoder with
312- modified options:
312+ modified options:
313313
314314``` postscript
315315% Good: /args only pushed after inner encoder succeeds
@@ -575,23 +575,29 @@ For repetitive tests, use template procedures:
575575
576576Pay attention to the direction of roll:
577577
578- (a) (b) (c) 3 1 roll => (c) (a) (b)
579- (a) (b) (c) 3 -1 roll => (b) (c) (a)
578+ ``` postscript
579+ (a) (b) (c) 3 1 roll => (c) (a) (b)
580+ (a) (b) (c) 3 -1 roll => (b) (c) (a)
581+ ```
580582
581583Understand the offset used by index:
582584
583- (a) (b) (c) 1 index => (a) (b) (c) (b)
585+ ``` postscript
586+ (a) (b) (c) 1 index => (a) (b) (c) (b)
587+ ```
584588
585589Inserting stack elements requires index adjustment:
586590
587- (a) (b) (c) /x 1 index def => (a) (b) (c) ; and x = (c), not (b) due to /x on the stack!
591+ ``` postscript
592+ (a) (b) (c) /x 1 index def => (a) (b) (c) ; and x = (c), not (b) due to /x on the stack!
593+ ```
588594
589595Understand that readonly does not affect its argument:
590596
591597``` postscript
592- /a [ 1 2 3 ] def % a is writable
593- a readonly pop % a is still writable; achieves nothing
594- /c a readonly def % c is not writable; a remains writable
598+ /a [ 1 2 3 ] def % a is writable
599+ a readonly pop % a is still writable; achieves nothing
600+ /c a readonly def % c is not writable; a remains writable
595601```
596602
597603Invalidating a boolean placed first on the stack is a common way to perform multiple tests that must pass:
0 commit comments