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

[REBOL] Re: need help with comparison operator <> evaluation

From: AJMartin:orcon at: 24-Dec-2003 22:47

Steve wrote:
> if [EXTENSION-IN <> ".txt"] [append INPUT-FILE ".txt" ]
One thing that can help in the conversion to Rebol and to aid one's understanding, is to swap the first square brackets with parenthesis, like: if (EXTENSION-IN <> ".txt") [append INPUT-FILE ".txt" ] Andrew J Martin Speaking in tongues and performing miracles. ICQ: 26227169