Skip to content

Typographical Conventions

Christopher Ross-Gill edited this page Aug 1, 2016 · 1 revision

Suggested conventions for documenting Rebol

Category Style How to do it in WikiText
emphasized text emphasized text ''emphasized text'' (double apostrophe)
Rebol words bold-and-italic '''''bold-and-italic''''' (quintuple apostrophe)
values of Rebol variables bold '''bold''' (triple apostrophe)
embedded Rebol expression typewriter text <tt>typewriter text</tt>

Note: Rebol variables are Rebol words that are bound to a context, unbound words don't have values.

Use:

  1. do to represent the value of the do variable - in a fresh console this is a native that does not have a serialized form
  2. none to represent the value of the none variable - in a fresh console this is the value that can be literally represented as #[none] or #[none!]
  3. true to represent the value of the true variable - in a fresh console this is the value that can be literally represented as #[true]
  4. unset! to represent the value of the unset! variable - in a fresh console this is the value that can be literally represented as #[datatype! unset!]
  5. unset to represent the value of the unset variable - in a fresh console this is a native that does not have a serialized form
, etc.

The above rules mean, that the #[unset!] value should be represented using neither of unset (the word), unset (the native), unset! (the word), unset! (the datatype).

Cookbook References

Clone this wiki locally