Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Antwort: Re: WYSIWYG programming

From: rebol:techscribe at: 27-Oct-2000 16:03

Hi Jeff, [jeff--rebol--net] wrote:
> You suddenly realise that instead of: > > either found? val1 [foo: val1][ > either found? val2 [foo: val2][ > either found? val3 [foo: val3][ > foo: default-val > ] > ] > ] > > you can just do this: > > foo: any [val1 val2 val3 default-val] >
Deja vu. Last night (early this morning) I came up with this exact idea, while writing a parse rule that had to distinguish three cases. Take Care, Elan