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


From: tim-johnsons:web at: 21-Aug-2008 7:18

On Wednesday 20 August 2008, Carl Read wrote:
> Well spotted. Plus, given this was supposed to be an easy example for new > users to figure out, isn't it reasonable to assume that the questionmark is > part of REBOL's syntax and not just a character that's part of a word? > Afterall, colons are added to both the beginning and ends of words in > REBOL, so it stands to reason that a questionmark on the end of one > suggests they can be added to all words. ie...
Hiya Carl: Might be good to check all type predicates for R3. Myself I've made use of only a few of the datatypes - but with REBOL3 coming along would be a good time to review them. Know that all tests are correct would "harden" rebol. BTW: I noticed something interesting:
>> source email?
email?: native ["Returns TRUE for email values." value [any-type!] 43] Us "old hands" know that 'native means that this function is coded in C and compiled into the binary _But_ what does the number 43 mean? again email?: native ["Returns TRUE for email values." value [any-type!] 43] -------------------------------------------------------------------------------------------------------^^ thanks tim