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

[REBOL] Re: Field color change on error.

From: greggirwin:mindspring at: 17-Oct-2002 13:25

Hi Louis, << Also, why does this result in an error message instead of false?
>> email? kkkkk
** Script Error: kkkkk has no value ** Near: email? kkkkk
>> >>
kkkkk is a word, and REBOL is evaluating it to find the value it references, to see if it is an email! value. If you give it an email value, the scanner will recognize it as such.
>> e: [gregg--pointy--com]
== [gregg--pointy--com]
>> email? e
== true
>> email? [gregg--pointy--com]
== true HTH! --Gregg