| REBOL Library |
Updated: 29-May-2003
| A Button with Shortcut Key |
1-Jun-2000 |
|
| Shows how to easily add a shortcut key to a button. | 1 line |
230 bytes |
| Append to a Text File |
26-May-1999 |
|
| Append to a text file using FTP. | 1 line |
236 bytes |
| Check for Directory |
26-May-1999 |
|
| Check if a filename belongs to a directory using FTP. | 1 line |
257 bytes |
| Run Script from FTP |
26-May-1999 |
|
| Do a REBOL script via FTP. | 1 line |
193 bytes |
| Make a directory |
26-May-1999 |
|
| Make a file directory on an FTP server. | 1 line |
217 bytes |
| Read a Text File |
26-May-1999 |
|
| Read a text file from an FTP server and print it. | 1 line |
215 bytes |
| Rename a File |
26-May-1999 |
|
| Rename a file on a server using FTP. | 1 line |
213 bytes |
| Upload a File |
26-May-1999 |
|
| Upload a binary file to an FTP server. | 1 line |
218 bytes |
| Write Text File |
26-May-1999 |
|
| Write a text file to an FTP server. | 1 line |
216 bytes |
| Hello World Window |
20-May-2000 |
|
| Opens a window that displays text and a quit button | 1 line |
234 bytes |
| Non-echoing Input |
15-Sep-1999 |
|
| Hide input for passwords (no echo characters) | 1 line |
200 bytes |
| REBOL Script in HTML File |
24-Apr-1999 |
|
| Shows how to embed a REBOL subscript within an HTML document. | 1 line |
956 bytes |
| Email a Web Page |
10-Sep-1999 |
|
| Send a web page. (simple) | 1 line |
221 bytes |
| Script with a Preface |
24-Apr-1999 |
|
| Text before the REBOL header is ignored. | 1 line |
402 bytes |
| EMail Setup (for Send) |
6-Nov-1997 |
|
| Minimum set-up for sending email messages from REBOL. | 1 line |
842 bytes |
| Simple Script |
24-Apr-1999 |
|
| The traditional Hello World example script. | 1 line |
208 bytes |
| View 3 Buttons |
1-Jun-2000 |
|
| Example of how to display three buttons down the page. | 1 line |
238 bytes |
| View HTML Code |
1-Jun-2000 |
|
| Fetch a web page and view its HTML code in a window. | 1 line |
232 bytes |
| View an Image in a Window |
1-Jun-2000 |
|
| View an image in a window. | 1 line |
264 bytes |
| Download Web Page |
20-May-1999 |
|
| Fetch a web page and save it as a file. | 1 line |
217 bytes |
| Web Page Displayer |
20-May-1999 |
|
| Fetch a web page and display its HTML code. | 1 line |
207 bytes |
| Web Page Emailer |
20-May-1999 |
|
| Fetch a web page and send it as email. | 1 line |
219 bytes |
| CLS |
3-Jul-2002 |
|
| Clears the console screeen. | 1 line |
295 bytes |
| Content-Type |
3-Jul-2002 |
|
| Prints Content-type header for cgi. | 1 line |
374 bytes |
| Delete a File or Directory |
26-May-1999 |
|
| Delete a file or directory from a server using FTP. | 2 lines |
278 bytes |
| Download a Binary File |
26-May-1999 |
|
| Download a binary file from an FTP server. | 2 lines |
278 bytes |
| Get File Size and Date |
26-May-1999 |
|
| Get size and date information about an FTP file. | 2 lines |
306 bytes |
| Protecting Passwords |
15-Sep-1999 |
|
| Prompt for password to use before transfer. | 2 lines |
270 bytes |
| Convert Line Terminators |
4-Jun-1998 |
|
| Convert all line terminators to those used by the local computer. Works for PC, Mac, Unix, Amiga, and all others | 2 lines |
367 bytes |
| View an Image and its File Name |
1-Jun-2000 |
|
| Display an image in a window with its file name printed directly below it. | 2 lines |
355 bytes |
| View an Image behind File Name |
1-Jun-2000 |
|
| Display an image with its file name on top of it. | 2 lines |
320 bytes |
| View A List of Data |
1-Jun-2000 |
|
| Example of how to display a simple block of data as fixed width columns in a window. Code is just one line. | 2 lines |
393 bytes |
| Search a Web Page |
20-May-1999 |
|
| Search a web page for a string, and save the page to a file if it was found | 2 lines |
310 bytes |
| ConsoleIO |
1-Aug-2002 |
|
| Console prompt output save,saves all console input to history.log file when in console mode. | 2 lines |
527 bytes |
| Encoding Binary Data in REBOL Scripts |
30-May-2000 |
|
| Example of how to save base-64 encoded binary data in REBOL scripts. (See bin-data.r as an example of how to decode the data.) | 3 lines |
396 bytes |
| CGI Form Emailer |
19-Jul-1999 |
|
| Emails the contents input into a web CGI form. | 3 lines |
558 bytes |
| Read File Directories |
26-May-1999 |
|
| Read and print directories from an FTP server. | 3 lines |
308 bytes |
| POP Email Port Spec |
10-Sep-1999 |
|
| POP port specification used to connect to an email server. All of the mail reading examples use this. | 3 lines |
658 bytes |
| Time a Web Page |
24-Apr-1999 |
|
| Time how long it takes to fetch a web page from the net. (Just the HTML file, not the images.) | 3 lines |
317 bytes |
| Prompt for User and Password |
15-Sep-1999 |
|
| Prompt for username and password to use for a transfer. | 3 lines |
317 bytes |
| Display Black Text |
1-Jun-2000 |
|
| Display black text on a white background. | 4 lines |
283 bytes |
| Email a Text File |
10-Sep-1999 |
|
| Send a text file (as text of message). | 4 lines |
366 bytes |
| Download List of Files |
26-May-1999 |
|
| Download a list of binary files using FTP. | 5 lines |
335 bytes |
| Upload Several Files |
26-May-1999 |
|
| Upload multiple files with FTP using login and password. | 5 lines |
340 bytes |
| Keep an ISP Connection Alive |
16-Sep-1999 |
|
| This script can be used to keep an ISP connection alive by accessing the net every so often. | 5 lines |
622 bytes |
| Save Email to File |
10-Sep-1999 |
|
| This example reads all email and saves it to a file. | 5 lines |
500 bytes |
| Check for REBOL Pro Features |
18-May-2001 |
|
| An example of how to detect View/Pro and Command special features. | 5 lines |
456 bytes |
| Check for a File or Directory |
26-May-1999 |
|
| Check for the existence of an FTP file or directory. | 6 lines |
382 bytes |
| Update from WWW.REBOL.COM |
12-Oct-1998 |
|
| Updates your rebol.r and reboldoc.r files from the web. | 6 lines |
378 bytes |
| Average |
3-Jul-2002 |
|
| Averages the values in the Block. | 6 lines |
474 bytes |
| Celcius |
3-Jul-2002 |
|
| Converts Temperature in Fahrenheit to Celcius. | 6 lines |
533 bytes |
| Fahrenheit |
3-Jul-2002 |
|
| Converts Temperature in Celcius to Fahrenheit. | 6 lines |
552 bytes |
| Source |
3-Jul-2002 |
|
| Prints the script source code for a word. | 6 lines |
446 bytes |
| Images Buttons |
20-May-2000 |
|
| Example of how to make buttons made from images. Clicking on a button updates text in the window. | 7 lines |
550 bytes |
| Transfer REBOL Files to Server |
18-Dec-1997 |
|
| FTP all .r files in the current directory to a server. | 7 lines |
386 bytes |
| Total Size of .r Files |
24-Apr-1999 |
|
| Print the total size of all .r files in the current directory. | 7 lines |
352 bytes |
| Download Multiple Pages |
20-May-1999 |
|
| Fetch several web pages and save them as local files. | 7 lines |
336 bytes |
| Email Message Sender |
10-Sep-1999 |
|
| A very simple way to send an email. | 8 lines |
459 bytes |
| Email Group Sender |
10-Sep-1999 |
|
| A very simple way to send email to a group. | 9 lines |
521 bytes |
| Search Multiple Web Pages |
20-May-1999 |
|
| Search multiple web pages for a string, and print the URL of the ones where it was found. | 9 lines |
429 bytes |
| Send Pages Every Hour |
20-May-1999 |
|
| Send a set of pages via email every hour. | 9 lines |
380 bytes |
| Data Directions |
9-May-1999 |
|
| Illustrates the data descriptive capabilities of REBOL -- Gives the road directions to the REBOL office from San Francisco. Readable by humans and by REBOL. | 10 lines |
572 bytes |
| Time Several Web Sites |
24-Apr-1999 |
|
| Time how long it takes to read several web home pages. (Just the HTML file, not the images.) | 10 lines |
455 bytes |
| Itemize |
3-Jul-2002 |
|
| Appends Value to Values, if Value not all ready in block. | 10 lines |
541 bytes |
| Tokyo Tower Watcher |
29-Nov-2001 |
|
| To display a picture of the Tokyo Tower, updating every 60s | 11 lines |
761 bytes |
| Send Email with Buttons |
20-May-2000 |
|
| A very simple email sending application that shows how text is input and buttons are used. | 13 lines |
650 bytes |
| Leap-Year |
3-Jul-2002 |
|
| Returns true for a leap year. | 13 lines |
594 bytes |
| Interweave |
18-Jul-2002 |
|
| Combines two series into one series by interleaving their values. | 13 lines |
813 bytes |
| Round |
3-Jul-2002 |
|
| Rounds a number at any given place. | 14 lines |
1091 bytes |
| Dialog Box |
20-May-2000 |
|
| Pops up a dialog requestor that displays a message and waits for the user to click a button. | 15 lines |
663 bytes |
| Progress Bar |
20-May-2000 |
|
| Shows a progress bar in a dialog box. | 15 lines |
529 bytes |
| Email Headers |
10-Sep-1999 |
|
| Send email with a custom header. | 16 lines |
507 bytes |
| Test FTP Commands |
24-Jun-2001 |
|
| Demonstrate ftp commands and results | 16 lines |
930 bytes |
| Days-Per-Month |
3-Jul-2002 |
|
| Adds Days per Month to system/locale. | 16 lines |
654 bytes |
| Accumulate |
3-Jul-2002 |
|
| Cumulates values in a block together, by successively applying the function to each value in Series. | 17 lines |
950 bytes |
| Find-Block |
3-Jul-2002 |
|
| Finds a tuple in a block or tuple-space. | 17 lines |
754 bytes |
| Tally |
3-Jul-2002 |
|
| Tallies up the values in a series, producing a block of [Value Count] pairs. | 17 lines |
802 bytes |
| Delete-Dir |
3-Jul-2002 |
|
| Deletes the specified files(s) or directory. | 19 lines |
792 bytes |
| Rebol date to-timestamp |
18-Jul-2001 |
|
| For better date storage (in large date databases) | 20 lines |
820 bytes |
| CSV |
3-Jul-2002 |
|
| .CSV file manipulation functions. | 20 lines |
1038 bytes |
| Iota |
3-Jul-2002 |
|
| Makes a block containing a range of values, from Start to End. | 21 lines |
948 bytes |
| Dice Roller |
14-Oct-2002 |
|
| A general purpose dice roller, supports custom dice and roll-and-keep highest or lowest dice. | 24 lines |
1316 bytes |
| Dice |
3-Jul-2002 |
|
| Dice. | 29 lines |
944 bytes |
| Full REBOL Header |
29-Apr-1999 |
|
| Shows the optional definitions that can be used within a REBOL header. | 30 lines |
2190 bytes |
| Easy REBOL GUI Page |
23-May-2000 |
|
| Shows how to create a simple page with paragraphs, buttons, and entry fields on a colorful backdrop. | 35 lines |
1511 bytes |
| Map |
3-Jul-2002 |
|
| Maps or applies the function to all elements of the series. | 40 lines |
1863 bytes |
| Build-Tag |
3-Jul-2002 |
|
| Build-Tag is a replacement Build-Tag that handles XML attributes. | 42 lines |
1554 bytes |
| Permute |
3-Jul-2002 |
|
| Permutes a matrix. | 52 lines |
2379 bytes |
| Binary Data in REBOL Scripts |
30-May-2000 |
|
| Example of how to decode binary data in REBOL scripts This example includes a base-64 encoded image. (See bin-save.r for an example of how to create this file.) | 3 pages |
8847 bytes |
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.