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

[REBOL] Re: Is a "series" aka an "array"

From: semseddinm:bircom at: 5-Nov-2010 15:04

Hi, As Carl Read mentioned, number and series are pseudo datatypes to group some similar datatypes. You can do "A: MAKE INTEGER! 5" but cannot do "A: MAKE NUMBER! 5" for example. It is mostly useful when you PARSE an input. PARSE [A 4.3 [x]] [word! number! series!] ;== true PARSE [B 5 "hello"] [word! number! series!] ;==true So you can iterate or something if it is a series! type. Fri, 05 Nov 2010 14:40:38 +0200 tarihinde Duke Normandin <> şöyle yazmış: