REBOL Library REBOL

Beginner Level

Updated: 29-May-2003

Return to main library index

Factorial

factorial.r

6-Jan-1999

Compute a factorial

2 lines

372 bytes

 
ConsoleIO

consoleio.r

1-Aug-2002

Console prompt output save,saves all console input to history.log file when in console mode.

2 lines

527 bytes

 
Web Page Title Extractor

webtitle.r

20-May-1999

Find the title of a web page and display it.

3 lines

280 bytes

 
Send Message to GSM Cellphone

cellphone.r

16-Jun-2000

To post a message via MTN's SMS gateway to a GSM phone

4 lines

1677 bytes

 
CGI Form Dumper

cgidump.r

19-Jul-1999

Display the contents of a submitted form as a web page. Useful for debugging CGI forms.

5 lines

605 bytes

 
Digital Clock

clock.r

2-Apr-2001

Displays a simple digital clock in its own window.

5 lines

418 bytes

 
Comma-Seperated-Values to REBOL converter

convert-csv.r

16-Jun-1999

Convert CSV files to REBOL blocks

5 lines

529 bytes

 
Check Web Servers

check-server.r

16-Sep-1999

This script can be used to query a web server, and email webmaster if it fails.

6 lines

612 bytes

 
REBOL Prompt Setter

set-prompt.r

16-Jun-1999

Demonstrates how to set the prompt in REBOL

6 lines

433 bytes

 
Upload all HTML Files

ftphtml.r

26-May-1999

Upload a group of files to an FTP server.

8 lines

397 bytes

 
List FTP upload

listftpupload.r

22-Jun-1999

FTP upload multiple files using login and password. Supports a full upload or partial for updates from lists in %sitedata.reb and %siteupdate.reb.

8 lines

1386 bytes

 
Easy CGI Form Example

cgiform.r

19-Jul-1999

Handles a CGI form and returns its values as a web page. (The associated cgiform.html file contains the form).

9 lines

954 bytes

 
Find Invalid Chars

findchars.r

4-Jun-1998

Finds odd unprintable ASCII characters in a file

9 lines

476 bytes

 
Gradient in all Directions

grad-all.r

20-May-2000

Displays all gradient directions.

9 lines

492 bytes

 
Email Text Files

mailfiles.r

10-Sep-1999

This example sends a group of text files as separate messages.

9 lines

558 bytes

 
Email Friend Monitor

mailfriends.r

10-Sep-1999

This example displays messages that come from "friends" only. All others will be ignored.

9 lines

749 bytes

 
File Compress and Decompress

compress.r

16-May-2001

An example file compression utility.

9 lines

604 bytes

 
Interactive FTP Downloader

ftpdownload.r

26-May-1999

Download a group of files from an FTP server, prompting for each file along the way.

10 lines

513 bytes

 
Gradient Colorize

gradcol-all.r

20-May-2000

Displays gradient colorize in all directions.

10 lines

519 bytes

 
Reflect all Directions

reflect-all.r

20-May-2000

Displays all reflection directions.

10 lines

493 bytes

 
Web Page Change Detector

webcheck.r

20-May-1999

Determine if a web page has changed since it was last checked, and if it has, send the new page via email.

10 lines

500 bytes

 
Get All Library Scripts

weblib.r

20-May-1999

Downloads all scripts from the REBOL script library

10 lines

543 bytes

 
a simple alert example

alert.r

28-Aug-2001

introduces alert to the beginner

10 lines

573 bytes

 
CopyCon

copycon.r

25-Aug-2001

Inline Line-Editor for Rebol Console mode, you can extent by loading/saving/exeucting the buffer

10 lines

662 bytes

 
Email Ping (Confirmation)

mailping.r

10-Sep-1999

Confirm certain email that contains a key word.

11 lines

775 bytes

 
Email Sniffer

mailsniff.r

10-Sep-1999

Example of how to search all incoming email for particular keywords.

12 lines

789 bytes

 
Dictionary Lookup

dict.r

12-Jun-2001

Uses the Merriam-Webster website for dictionary and thesaurus lookups, without using their form. Just a small utility really.

12 lines

722 bytes

 
Count References on Web Pages

countweb.r

18-Dec-1997

Count the number of times a string appears on each of a given set of web pages.

13 lines

546 bytes

 
Search Web Pages

findweb.r

18-Dec-1997

Simple example of searching multiple web pages for a specified string.

13 lines

534 bytes

 
Include Files

include.r

5-Nov-1997

A useful function for "including" a single file or a block of files. Web and other file paths are allowed.

13 lines

680 bytes

 
Rot-13

rot-13.r

21-Oct-1999

To Encode and Decode Rot-13 strings

13 lines

1030 bytes

 
Email Send With CC

mailcc.r

10-Sep-1999

Example of how to include CC addresses on an email header.

14 lines

522 bytes

 
REBOL Vision

rebcam.r

22-May-2001

Fetch Webcam image at a specified refresh interval.

14 lines

609 bytes

 
Time a Block

timeblk.r

28-Oct-1998

Times the execution of a REBOL block.

14 lines

725 bytes

 
Fish 'n Strips

fish.r

6-Jun-2000

Fun with Transparency

15 lines

615 bytes

 
Trivial Email List Server

mailserver.r

10-Sep-1999

As simple as a list server gets.

15 lines

1090 bytes

 
http/1.1 get

http-get.r

31-Aug-2001

dumps the response header from requesting a file via TCP from a host using http/1.1

15 lines

934 bytes

 
CGI Form with Defaults

cgiformobj.r

19-Jul-1999

Handles a CGI form, providing default values for missing fields in the form. Returns a web page. (The associated cgiform.html file contains the form).

16 lines

1213 bytes

 
Email Files as Compressed

mailfilescomp.r

10-Sep-1999

This example sends a group of files (binary or text) as a single compressed text message.

18 lines

869 bytes

 
Date and time in digits

time-in-digits.r

12-Jun-2000

Convert the date and time into a string of digits.

18 lines

1558 bytes

 
Time-It Function

timeit.r

3-Jun-1999

Creates a simple timer function for timing in REBOL.

18 lines

679 bytes

 
Time Web Pages

timewebs.r

18-Dec-1997

Time how long it takes to get each of the web pages listed in a block.

19 lines

942 bytes

 
Sort Library Files by Category

sort-lib-files.r

2-Jun-2000

Copies REBOL script library files into subdirectories under the primary categories.

20 lines

922 bytes

 
Local Font Mapping

font-styles.r

4-Jun-2000

Shows which fonts are being mapped to the system independent font styles on your system

22 lines

1155 bytes

 
Email Viewer (as web page)

mailview.r

10-Sep-1999

This example displays all of your pending email as an HTML web page. (But does not remove it.)

22 lines

1181 bytes

 
Form Letter

formletter.r

10-Sep-1999

Example of how to create an email form letter.

23 lines

866 bytes

 
WHOIS Maker

whoismaker.r

30-May-2000

WhoIs query, parse, and save as a file

25 lines

1270 bytes

 
Scrolling Movie Credits

credits.r

16-May-2001

Displays scrolling credits over an image. (Most of this example is the text for the credits.)

27 lines

824 bytes

 
National Geographic Image of the Day Downloader

ngbg.r

21-Sep-2001

Downloads the current picture of the day from nationalgeographic.com and saves it to a location of your choice. Directions: Change the 'filename' in the source to the location of your choice. The agrument -s causes it to be silent and so not print what step it is at. These directions can be seen by adding a -h agrument.

30 lines

1673 bytes

 
Text File Viewer

text-view.r

31-May-2001

A simple scrolling text file viewer. (Updated from 20-May-2000 version.)

31 lines

1292 bytes

 
Examples Using Switch Function

switch.r

15-Oct-1998

Switch between a set of choices or a default. Should make C programmers happy.

33 lines

1343 bytes

 
FIREBOLEK

fire.r

27-Oct-2001

Well-known fire-demo for your pleasure

33 lines

1455 bytes

 
Dual Column Text

dual-col.r

5-Oct-2001

Shows an easy way to make dual column text.

33 lines

1487 bytes

 
Black Scholes Option Price

black-scholes.r

11-Nov-2001

Provide a Rebol function for computing the Black-Scholes (1973) formula for determining an European style Option Price.

34 lines

2404 bytes

 
Data Entry Form

entry-form.r

20-May-2000

A simple data entry form for an address book. Does not verify field data.

36 lines

1411 bytes

 
Refine

refine.r

21-Dec-2001

"Add refinement(s) to a word/path"

41 lines

1472 bytes

 
Easy CGI Form (HTML Part)

cgiformhtml.r

19-Jul-1999

HTML form to go with Easy CGI example (cgiform.r).

42 lines

1292 bytes

 
REBOL Standard Colors

color-names.r

31-Mar-2001

Displays the official built-in REBOL named colors.

47 lines

1739 bytes

 
REBOL Memory Stats

mem-stats.r

21-Jun-2000

Print out statistics for memory usage. (Command only.)

55 lines

1711 bytes

 
Multiple View Pages

pages.r

20-May-2000

Shows how to switch between pages using a navigation menu.

56 lines

1659 bytes

 
Gradient Colorize Examples

grad-image.r

22-May-2001

Applies multiple gradients to a single image.

62 lines

2492 bytes

 
Dump-Style

dump-style.r

11-Jun-2002

Dump style facets and returns a block which can be passed to stylize to create a clone of the style.

63 lines

2504 bytes

 
Piles of Button Styles

buttons.r

20-May-2000

Displays 52 button styles out of the hundreds possible.

68 lines

4398 bytes

 
Dump-Face

dump-face.r

4-Jun-2002

Dump a face and its subfaces and deep find shared faces in a pane (for debugging) Returns the face itself, so can be used like probe. Overwrite the standard Rebol function.

70 lines

2964 bytes

 
MenuBar

menubar.r

11-Jul-2001

A simple Bar Menu with the Choose Function and much more.

94 lines

4133 bytes

 
Condense Data

condense.r

18-Feb-2002

Provide a series of functions for aggregating data. Specifically designed for taking daily stock data and condensing it into weekly or monthly data series, but flexible enough for most data aggregation tasks.

97 lines

5310 bytes

 
REBOL External Application Launcher - self extracting archive

launcher-ext42.r

26-Mar-2001

Launches external apps (using the C system() call) from any version of REBOL

5 pages

22197 bytes

 
AnaMonitor

anamonitor.r

9-Nov-2001

To visually examine nested objects/blocks. Examples: monitor monitor system/words monitor svv

14 pages

36702 bytes

 
Easy Quick Plot

ez-plot.r

20-Feb-2002

Simple tutorial for using the quick plot dialect.

34 pages

61796 bytes

 


The line count is for code lines only and is used as a rough estimate of code size. It does not include script headers, blank lines, or comment lines.

To add or modify a file, run REBOL/View and click on the Add-Script icon in the Library folder. Be sure that the script has a REBOL header that describes its purpose.

You can download the entire library as a compressed, self-extracting REBOL archive. The file is 585 KB and requires REBOL to extract. You may need to right click on this link to save the file in some browsers.

Once you have extracted the files, you can build these HTML index pages locally by running the build-lib.r script.

Note: All scripts are provided AS IS without warranty and without liability to the author or to REBOL Technologies.

REBOL is a trademark of REBOL Technologies.