Script Library: 1213 scripts
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
tag index: l · level

290 scripts tagged as: [level  ·  beginner]

Natural numbers sum
natural-numbers-sum.r1.0 KB
27 Sep 2014
Sums all the natural numbers up to a given input. Uses the equality: 1 + 2 + 3 +... + n = n*(n+1)/2 to avoid looping.
author: Caridorc
Change File Extensions (Suffix)
new-suffix.r1.3 KB
26 Jan 2005
Change the file extension (suffix) for files with a specific extension. For example, change all .txt files to .r files in the current directory. Displays a list of changes before it makes them.
author: Carl Sassenrath
AIOE Newsgroup Test
13.3 KB
8 Mar 2008
- an application of NNTP protocol - and an introduction
author: R.v.d.Zee
538 bytes
13 Mar 2003
Implements Not operator as '!, and Not Equal operator as '!=.
author: Andrew Martin
How many seconds old are you?
now.r1.2 KB
6 Sep 2004
Newbie exercise (written by a newbie) to learn more about the NOW Function Word.
author: Leke
The number-memory buttons
number-buttons-game.r3.6 KB
23 Sep 2014
In this game you will have to click the buttons and memorize the numebers, at the end you will be asked to write the bigger or the smaller. This is a race against your memory.
author: Caridorc
Natural numbers sum
nutural-numbers-sum.r1.0 KB
27 Sep 2014
Sums all the natural numbers up to a given input. Uses the equality: 1 + 2 + 3 +... + n = n*(n+1)/2 to avoid looping.
author: Caridorc
Text-Lists With One Row Hi-lite
6.8 KB
23 Jun 2006
The script was written to illustrate how a single hi-lite bar can be used with a group of text-lists. The single bar is used instead of the in-built hi-lite of the text-list style. In a group of the default text-lists, all occurrences of identical data are hi-lighted if any one of them is picked - and so no uniform hi-lite bar can be presented. The iter co-ordinates [...]
author: R.v.d.Zee
575 bytes
20 Jul 2003
Reads all .bmp files in a directory and saves them out as .png files.
author: Bohdan Lechnowsky
Change directory
591 bytes
20 Jul 2003
Used alone, return the actual dir. Used with a dir name, changes the actual dir and return the new dir.
author: Romano Paolo Tenca
Chess board
551 bytes
13 Aug 2004
Displays an empty chess board
author: Sunanda
Clear-me game
811 bytes
20 Jul 2003
A one-line game. A line of twenty boxes appear, each with a cross on, the object being to remove all the crosses. Clicking on a box will toggle it and one other off and on. Sometimes the line is easy to clear, and sometimes not. And no, I don't know if sometimes it's impossible...
author: Carl Read
Console history
570 bytes
20 Jul 2003
Allow you to use the history just by index.
author: Fabrice Vado
Upload all files in a directory with FTP
653 bytes
20 Jul 2003
Uploads all the files in a directory using FTP. Files can be text, images, web pages, anything... but not directories.
author: RT
Upload a file with FTP
637 bytes
20 Jul 2003
Uploads a file using FTP (file transfer protocol). Username and password are provided in the line (so be warned). Any file can be uploaded, text, images, webpages, etc.
author: RT
Print console history
502 bytes
20 Jul 2003
Print the console history.
author: Romano Paolo Tenca
Image viewer
622 bytes
20 Jul 2003
Displays a picture in a window. Click on it to select another one.
author: Vincent Ecuyer
Test if leap year
681 bytes
20 Jul 2003
'Leapyear? returns 'true for date values that are leapyears. For example: >> leapyear? 1/1/2001 == none >> leapyear? 1/1/2000 == true
author: Andrew Martin
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)
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
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
Prime numbers
452 bytes
23 Dec 2012
Give some prime numbers
author: Marco Antoniazzi translated from Wouter van Oortmerssen
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
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
151 / 29012345[6] 78910