Script Library: 1238 scripts
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
tag index: t · type

93 scripts tagged as: [type  ·  how-to]

Write a log file
741 bytes
20 Jul 2003
Logs Rebol values to a file named %Log.txt. I use 'Log to help debug CGI scripts. Use 'Log like: Log/clear now ; Start a new log file. ; What's the CGI query string contents? Log Rebol/options/cgi/query-string
author: Andrew Martin
Monty Hall Challenge
694 bytes
13 Aug 2004
Simulates swapping doors after Monty shows a goat. Result is percentage wins after 100 runs. (MHC: a well-known and often debated probability puzzle involving three doors, two goats, and a car).
author: Sunanda (with tweaks from Romano T, Ryan C, Carl R, and Reichart)
Morse code
660 bytes
13 Nov 2003
Encodes a sentence into morse code. This version is a bit suboptimal so that the html generator won't destroy it.
author: Johan Roennblom
Improved probe
546 bytes
20 Jul 2003
Requires last beta versions. A more usable probe. Try: view newprobe layout [button probe ]
author: Romano Paolo Tenca
Fractional length
610 bytes
27 Sep 2003
nfrac 33 => 0 ; nfrac 456 => 0 ; nfrac 0.2104 => 4 ; nfrac 1256.63 => 2 ; nfrac 1.0 => 0
author: collective contribution on
Paint drops
583 bytes
20 Jul 2003
A surface is filled with colored drops.
author: Vincent Ecuyer
Calculate Pi
654 bytes
20 Jul 2003
Approximate PI with John Wallis formula. Precision limited to 15 digits due to REBOL. Just press ESC when fed up ;-) Formula from http://
author: Jean-Nicolas Merville
Prime factors
556 bytes
23 Jun 2008
[no purpose header found]
author: Sunanda
web page links
580 bytes
20 Jul 2003
Load a web page, parse it to extract and print all links found
author: Christophe Coussement
Print HTML source
489 bytes
27 Sep 2003
Prints to the console the HTML source for a web page.
author: RT
Quine -- a program that displays it's own source
636 bytes
8 Mar 2009
Creates a self modifying window. (includes the REBOL Header.)
author: Ammon Johnson
Cellular automata
759 bytes
20 Jul 2003
Shows some steps in the evolution of a Turing complete cellular automaton from a single marked cell. Replace ..1.11. with some other expression, like ..11.. or .1..11 , and what do you have? Rule 90, and rule 30, respectively.
author: Errru
Save console history
737 bytes
20 Jul 2003
Takes the history of input into the console and prints it out, line by line, to a file. This way you can paste in functions and whole scripts, and save them for viewing and editing. Sorts it to display the oldest commands at the top.
author: Saw it on the ML a while ago
Save web page
651 bytes
20 Jul 2003
This line reads a web page, strips all its tags (leaving just the text) and writes it to a file called page.txt. Note: requires newer releases of REBOL.
author: Carl Sassenrath
Send email
621 bytes
20 Jul 2003
Simple GUI for email sending. Displays a small ok window when email is sent.
author: DocKimbel
Display server name
529 bytes
13 Aug 2004
Prints the name and version of a website's server.
author: Sunanda
Check if subset
738 bytes
19 Mar 2004
Tells you if set1 is a subset of set2. Works for both series! and bitset! values.
author: gregg irwin
TCP port scanner
850 bytes
20 Jul 2003
This is a simple port scanner. Given a TCP address, it will tell you which of the first 100 ports are accessible. The address can be a host name or number. For example, use "localhost" to scan ports on your own machine. You can scan more ports by increasing the number (from 100), or you can scan ranges by using a FOR loop rather than REPEAT.
author: Anonymous
Day of week
563 bytes
20 Jul 2003
Returns the weekday of the date. Use 'Weekday? like: Weekday? 25/Dec/2002 ; == Wednesday
author: Andrew Martin
PDF label maker
3.4 KB
17 Mar 2004
Create labels with PDF-Maker
author: Gregg Irwin
Add post-effects with shaders
12.2 KB
3 May 2020
Example use of %gles-egl-h.r
author: Marco Antoniazzi
Progress Bar With Read-thru
4.4 KB
18 May 2006
Progress Bar With Read-thru was written to provide a simple progress bar script to the REBOL library. When using REBOL's internal read-thru function, only 5 lines are required to update a progress bar - see note 2. Read-thru is used to download a file to the disk cache - and to provide the data to move the progress bar. The method used to retrieve the downloaded [...]
author: R.v.d.Zee
RebGUI and RebDB Sample
17.6 KB
3 Jul 2007
A quick demonstration of RebGUI with RebDB
author: Brian Tiffin
RebGUI image Example
1.3 KB
4 Jun 2007
RebGUI tutorial; display an image, with tip and close action
author: Brian Tiffin
RebGUI span Example
1.9 KB
5 Jun 2007
RebGUI tutorial; display images, with widget span and window resizing
author: Brian Tiffin
51 / 9312[3] 4