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

[REBOL] switch or case statement? Re:

From: allen:rebolforces at: 6-Sep-2000 0:47

----- Original Message ----- From: <[princepawn--lycos--com]> To: <[list--rebol--com]> Sent: Wednesday, September 06, 2000 12:20 AM Subject: [REBOL] switch or case statement?
> I thought that REBOL had a switch or case statement. Doesn't it? >
? switch USAGE: SWITCH value cases /default case DESCRIPTION: Selects a choice and evaluates what follows it. SWITCH is a function value. ARGUMENTS: value -- Value to search for. (Type: any) cases -- Block of cases to search. (Type: block) REFINEMENTS: /default case -- Default case if no others are found. (Type: any) (SPECIAL ATTRIBUTES) throw Cheers, Allen K