Script Library: 1213 scripts
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Documentation for: beer.r


REBOL

Using %beer.r

Source code originally by Unknown (assumed to be Carl Sassenrath)
Usage document written by Brian Tiffin, Library Team apprentice
24-Apr-2007

Contents:

1. Introduction to %beer.r
1.1 Still need to read.
2. Using %beer.r

1. Introduction to %beer.r

This script serves two purposes. It's educational component highlights the data is code and code is data techniques native to REBOL programming.

Secondly, it offers a very nice recipe for beer making. It even converts units of measure from Imperial to metric.

1.1 Still need to read.

Like many scripts in the rebol.org library, this code needs to be read from source for the full effect. The instructions are not included in the output, only the metric measured ingredients.

2. Using %beer.r

Simple.

>>do %beer.r

or

>>do http://www.rebol.org/cgi-bin/cgiwrap/rebol/download-a-script.r?script-name=beer.r

but all this shows is the ingredient list in metric.

For cooking instructions, after the do you can

>>print Instructions

for details on the actual brewing.

MakeDoc2 by REBOL- 25-Apr-2007