Friday, June 29, 2007

a Rebol tip

If you are new to the Rebol language on Windows you may have noticed that there are 2 files named rebol.exe
One is in \core and one is in \view
If you have followed the wiki-book you may be in the habit of running \core\rebol.exe in which case you may hit two oddities: first, that console does not know how to respond to
desktop
and, second, that it cannot respond to
editor ""
or the more interesting
editor system/view

The answer is to launch Rebol only using the home directory view.exe
From there you can go back and forth to console and then return to ViewTop using the command
desktop

While you are at it, try
source build-tag
or
source to-email
or
type? {this and that}
or
reduce [ 2 + 3 + 5 7 ]
or
compose ["this" (21 + 21) "that"]
or
parse {this that these those} " "
and enjoy!

PS. Here are 3 links to console info:
core
shell
quick-start

4 comments:

Anonymous said...

The Rebol console also responds to editor {} and to editor [] by opening an editor.

Anonymous said...

try
  help halt
and
  help escape
Be aware that a single
  q
is the same as
  quit

Anonymous said...

try
  help rebol
or for something really interesting
  editor rebol/words

Reboltutorial said...

Good tip has linked to it from
http://www.dzone.com/links/rebol_tip.html

Rebol's newbies visit
http://reboltutorial.com