[REBOL] Re: [REBOL.org] Recent changes
From: lmecir:mbox:vol:cz at: 28-Nov-2005 9:18
rebol-rebol.org napsal(a):
>[REBOL] [REBOL.org] Recent changes
>
>This is an automatic email from REBOL.org, the REBOL Script Library to notify you of
recent changes to the Library.
>
>=======changes==
>case.r
>--change: new script
>--title: CASE multiple conditional function
>--owners: cmdicely
>--author: Christopher M. Dicely
>--purpose: Provide a generalized multiple conditional function for situations that would
otherwise call for
>deeply nested EITHER blocks. CASE is more general than SWITCH because the conditions
can be any
>DO-able block rather than being based on a single value. This [...]
>--url:
http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=case.r
>
CASE is already present in the official REBOL, BTW, and my
implementation, (known as PIF), which was around for quite some time is
pretty compatible with it not using blocks as conditions as in the above
implementation. (I am still using it renamed to CASE for backwards
compatibility in older interpreter versions.
-Ladislav