REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 18-Feb-2009 Edit History  

REBOL 3 Concepts: Tour: Words

Pending Revision

This document was written for R2 and has yet to be revised for R3.


This section is obsolete and being replaced. It is kept only as a source for new content.

Words are the symbols used by REBOL. A word may or may not be a variable, depending on how it is used. Words are also used directly as symbols.

show next image

Install all files here

Country State City Street Zipcode

on off true false one none

REBOL has no keywords; there are no restrictions on what words are used or how they are used. For instance, you can define your own function called print and use it instead of the predefined function for printing values.

Words are not case sensitive and can include hyphens and a few other special characters such as:

+ - `  * ! ~ & ? |

The following examples illustrate valid words:

number?  time?  date!
image-files  l'image
++ -- == +-
***** *new-line*
left&right left|right

The end of a word is indicated by a space, a line break, or one of the following characters:

[ ] ( ) { } " : ; /

The following characters are not allowed in words:

@ # $ % ^ ,

  TOC < Back Next > - WIP Wiki Feedback Admin