Script Library: 1238 scripts
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 
Time Clock
time-clock.r5.2 KB
16 Jan 2011
Used to log hours worked by employees. To help eliminate potential falsified hours, the program takes a photo of the employee each time they clock in and clock out, and sets the system clock using Ladislav Mercir's nist-clock.r This code is provided as-is, with no warranty expressed or implied. Use it at your own risk. This [...]
author: nick
Mathematical Expression Dialect Parser
parse-expression.r
 documentation
v:0.9.6
8.3 KB
22 Mar 2011
Converts a mathematical expression into a block of rebol code that can be evaluated.
author: Francois Vanzeveren
Split.r
split.r
 documentation
9.7 KB
6 May 2012
Provide functions to split a series into pieces, according to different criteria and needs.
author: Gregg Irwin
Age
age.rv:3.0.0
1.1 KB
22 Sep 2003
Calulates Age in Years, Months & Days.
author: Andrew Martin
Apply
apply.r5.2 KB
26 Dec 2012
APPLY function definition
author: Ladislav Mecir
Accumulate
accumulate.r
 discussion
v:1.0.1
1.0 KB
13 Mar 2003
Cumulates values in a block together, by successively applying the function to each value in Series.
author: Andrew Martin
Clean-func
clean-func.r
 discussion
2.8 KB
2 Oct 2020
Func defines a function with given spec and body that remembers its arguments and locals after return. Clean-func defines a function with given spec and body that does not remember its arguments and locals after return.
author: Ladislav Mecir
C-aware
c-aware.r444 bytes
3 Nov 2010
This is an idea, how to instantly make R2 cycle bodies CONTINUE-aware.
author: Ladislav Mecir
Contexts
contexts.r10.5 KB
7 Jul 2013
REBOL code from the bindology article
author: Ladislav Mecir
Windows clock sync
clock-sync.r1.5 KB
24 Oct 2009
Synchronize your Windows date and time with the clock on your web server. The 4 line CGI script given at the end of this example prints out the current date and time on your web server, and this script reads it and sets the operating system clock to match it. (To do the same thing in Linux, see Ladislav Mecir's set-system-time-lin [...]
author: [unknown]
Closure
closure.r1.9 KB
14 May 2009
CLOSURE is suggested instead of FUNC when you need functions exhibiting async behaviour, e.g. for: - View - Async Ports - Higher Order Functions Closures differ from normal Rebol functions by using a fresh context every time they are called. Rule of thumb: if your function is returning a new function, block, or a local word, you will be safe if [...]
author: Ladislav Mecir
Evaluate
evaluate.r6.2 KB
15 Mar 2011
A few expression evaluators and expression translators written in REBOL.
author: Ladislav Mecir
Find script
find-script.r636 bytes
11 Nov 2012
The FIND-SCRIPT function from R3.
author: Ladislav Mecir
Flatten
flatten.r325 bytes
30 Oct 2011
flatten a block
author: Ladislav Mecir
Graph a function
graph.rv:1.1.0
19.2 KB
13 Jun 2004
Graph a function rounding function by Ladislav Mecir Usage .... Type in your function of x into the input field Some pretty functions to get you started ..... 3 * sin (0.5 * pi * x) 3 * sin (x * x) exp(0.1 * x) * (sin(4 * pi * x)) 4 * sin (4 * pi / x) 0.2 * exp(- x) * sin [...]
author: Phil Bevan
Identity.r
identity.r16.3 KB
7 Dec 2010
functions from the http://www.rebol.net/wiki/Identity article
author: Ladislav Mecir
World Clock
link-clock.rv:1.0.2
1.9 KB
21 Jul 2005
Displays times for a number of Locations.
author: Allen Kamp
Include
ladislav-include.r203 bytes
21 Jun 2013
This is just a stub, see the link.
author: Ladislav Mecir
Map
map.rv:1.4.1
1.9 KB
13 Mar 2003
Maps or applies the function to all elements of the series.
author: Andrew Martin
Named functions
named-func.r1.4 KB
10 Oct 2012
Numerous requests were made by REBOL beginners wanting to get an easy recipe, how to use named functions in REBOL. They usually get an answer that in REBOL, user-defined functions are anonymous, i.e., they do not have a name. Only after they are defined, they can be assigned to one or more variables. While such functions are named after [...]
author: Ladislav Mecir