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

[REBOL] Re: Request For Comments

From: lmecir:mbox:vol:cz at: 7-Apr-2001 17:37

Since the thread is called "Request For Comments", I am picking up the glove. Here are some situations a successful implementation should handle: for i 1 10 1 [ print i case [ [i = 6] [break] [i = 7] [print "Error, shouldn't get here!"] ] ] paranoic: func [s [string!]] [ case [ [find s "x"] [return "x found"] [true] [return "x not found"] ] print "Error, shouldn't get here!" ] paranoic "" You can get an inspiration in: http://www.rebol.org/general/pif.r Regards Ladislav