REBOL Core Manual

REBOL/Core Users Guide

For REBOL Version 2.3

Copyright 2005 REBOL Technologies
Send comments/corrections to Feedback

1

Introduction

An introduction to REBOL/Core, information about the manual, technical support information, and where to send comments.

2

Operation

Installing, starting, and quitting REBOL sessions. Using the REBOL Console. Getting help from REBOL. Error messages. How to upgrade REBOL.

3

Quick Tour

A quick overview that describes values, words, blocks, variables, evaluation, functions, paths, objects, scripts, files, and networking.

4

Expressions

How blocks, values, and words are evaluated. Conditional, repeating, and selective expressions. Stopping evaluation. Error recovery.

5

Scripts

Script headers. Command line arguments to scripts. Loading, saving, and commenting scripts. Style guide on how to write good scripts.

6

Series

Series are the foundation of REBOL. Describes series functions and datatypes. Making and copying series. Series iteration. Searching and sorting series. Series as data sets.

7

Block Series

Specifics on block series. Blocks of blocks. Paths for nested blocks. Arrays. Composing blocks.

8

String Series

Special string functions and converting values to strings.

9

Functions

Evaluating functions and arguments. Defining functions. Nested, unnamed, and conditional functions. Function attributes. Scope of variables. Reflective properties. Online help for functions. Viewing function source code.

10

Objects

Making and cloning objects. Accessing objects. Referring to self. Encapsulation. Reflective properties

11

Math

Scalar datatypes. Evaluation order. Standard functions and operators. Type conversion. Comparison. Log, trig, and logic functions.

12

Files

File names and paths. Reading and writing files. Line conversion and blocks of lines. Directory access and directory file functions.

13

Network
Protocols

About REBOL networking. Initial setup. DNS, Whois, Finger Daytime, HTTP, SMTP, POP, FTP, NNTP, CGI, TCP, and UDP.

14

Ports

About I/O ports. Opening, reading, writing, closing ports. Updating and waiting on ports. Other port modes. File permissions. Directory ports.

15

Parsing

Spitting strings. Grammar rules. Skipping input. Match types. Recursion and evaluation.

A1

Values

Summary of REBOL datatype values.

A2

Errors

REBOL error messages. Error categories. Catching errors. The error object. User generated errors.

A3

Console

The command prompt. History recall. Busy indicator. Advanced console operations.

C1

Changes

Addendum to this document covering 2.3.0-2.5.X

C2

Updates

Newer versions of REBOL, including alpha and beta releases.

Copyright REBOL Technologies. All Rights Reserved.
REBOL and the REBOL logo are trademarks of REBOL Technologies.