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

[REBOL] Storing a logical condition

From: tim::johnsons-web::com at: 13-Oct-2003 12:02

Hello rebols: I'd like to store a logical condition in a block to evaluate at a later time by 'if or 'either Example code:
>> a: 1
== 1
>> b: [a = 0]
== [a = 0]
>> either b[print "b evaluates to 'true'"][print "b evaluates to 'false'"]
b evaluates to 'true' What do I need to do so that my answer will be: b evaluates to 'false' thanks tim -- Tim Johnson <[tim--johnsons-web--com]> http://www.alaska-internet-solutions.com http://www.johnsons-web.com