< Rebol Programming

Internal utilities

The Viewtop

The Viewtop is Rebol/View's builtin graphical desktop. It's mainly used to access programs available from various Rebol sites around the world. It can also be used to access files locally on your own PC.

Using the Viewtop

On first startup, the Viewtop will come up automatically.

You can change the default behavior using the User Preferences menu item.

To start the Viewtop from the console type:

>> desktop

or

>> viewtop

Facts about the Viewtop

The Viewtop is written as a range of mezzanine functions using the VID graphical user interface system and is essentially open source.

The text editor

The text editor is handy for editing smaller scripts that are too large to write in the console. It's not very complex so it's not suited for larger projects. It can be launched from the console by writing:

>> editor none

Or

>> editor ""

Or if you give a filename:

>> editor %script.r

You can then run scripts in the editor by pressing Ctrl-E.

You can also use it to view large data objects that are hard to study in the console:

>> editor system/view

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.