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

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

Layout Writer
layout-writer.rv:0.1.1
10.1 KB
18 Mar 2008
The script was intended as a method for writing scripts. A layout may be written in the editor and then displayed in the same script. Writers can change the script and view the changes without leaving the editor. Reference material may be drawn into the program, reviewed, and even copied and pasted into the editor.
author: R.v.d.Zee
Shared lib example
libtest.redsv:0.0.1
1.5 KB
1 Jan 2014
This is a simple example of a shared library, written in Red/System.
author: Marco Antoniazzi
Linked Layout Demo
linked-layouts.rv:0.0.1
2.0 KB
11 Oct 2003
Shows how to link layouts so when a main window moves, the others stay in the same relative position to it.
author: Gregg Irwin
Scrolling LIST Example
list-scroll-demo.r2.9 KB
16 Nov 2004
Shows an example of how to use a LIST style face with an associated scroller.
author: Gregg Irwin
List How-To
list-supply-how-to.r2.4 KB
18 Apr 2006
How-To use a list and the 'supply block
author: [unknown]
NeHe Lesson 5 for GLUT
nehe-lesson05-glut.rv:1.1.0
6.7 KB
25 Apr 2013
Example use of %opengl-glu-glut-h.r and OpenGL. Almost ripped from John Niclasen
author: Marco Antoniazzi
NeHe Lesson 5 SDL
nehe-lesson05-sdl.rv:1.0.0
10.7 KB
23 Sep 2012
Example use of %opengl-glu-glut-h.r and %sdl-h.r
author: Marco Antoniazzi
NeHe Lesson 5
nehe-lesson05.rv:1.1.0
6.7 KB
26 Nov 2011
Example use of %opengl-glu-glut-h.r and OpenGL. Almost ripped from John Niclasen
author: Marco Antoniazzi
AIOE Newsgroup Test
newsgroup.rv:1.0.0
13.3 KB
8 Mar 2008
- an application of NNTP protocol - and an introduction AIOE.org
author: R.v.d.Zee
BMP to PNG
oneliner-bmp-to-png.rv:1.0.0
575 bytes
20 Jul 2003
Reads all .bmp files in a directory and saves them out as .png files.
author: Bohdan Lechnowsky
VID demo
oneliner-bye.rv:1.0.0
588 bytes
20 Jul 2003
A red box with bye written on it disappears into the distance.
author: Anton
Chess board
oneliner-chess-board.rv:1.0.0
551 bytes
13 Aug 2004
Displays an empty chess board
author: Sunanda
Clear-me game
oneliner-clear-me.rv:1.0.0
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
oneliner-dohist.rv:1.0.0
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
oneliner-ftp-upload-dir.rv:1.0.0
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
oneliner-ftp-upload-file.rv:1.0.0
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
oneliner-hist.rv:1.0.0
502 bytes
20 Jul 2003
Print the console history.
author: Romano Paolo Tenca
Image viewer
oneliner-image-viewer.r
 documentation
v:1.0.0
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
oneliner-leapyear.rv:1.0.0
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
oneliner-log.rv:1.0.0
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
oneliner-monty-hall.r
 documentation
v:1.0.0
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
oneliner-morse-code.rv:1.0.0
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
oneliner-newprobe.rv:1.0.0
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
oneliner-nfrac.rv:1.0.0
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 www.codeur.org/forum/forum.php?theme=17
Paint drops
oneliner-paint-drops.r
 documentation
v:1.0.0
583 bytes
20 Jul 2003
A surface is filled with colored drops.
author: Vincent Ecuyer
Calculate Pi
oneliner-pi.rv:1.0.0
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:// www.chez.com/algor/math/pi.htm
author: Jean-Nicolas Merville
Prime factors
oneliner-prime-factors.r
 documentation
556 bytes
23 Jun 2008
[no purpose header found]
author: Sunanda
web page links
oneliner-print-links.rv:1.0.0
580 bytes
20 Jul 2003
Load a web page, parse it to extract and print all links found
author: Christophe Coussement
Print HTML source
oneliner-print-web-page.rv:1.0.0
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
oneliner-quine.rv:1.0.0
636 bytes
8 Mar 2009
Creates a self modifying window. (includes the REBOL Header.)
author: Ammon Johnson
31 / 921[2] 34