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

[REBOL] Re: howto non_existance- check?

From: al:bri:xtra at: 15-Dec-2000 7:14

Sascha wrote:
> sorry, i certainly could 've seen the solution - but couldn't find it now
;-)
> >> f: func [w ] [either [ value? 'w ] [ do 'w][print "no way..."]] > >> value? 'm > == false > >> x > == 10 > >> f x > == 10 > >> f m > ** Script Error: m has no value. > ** Where: f m > >> f 'm > == m >> f: func ['w] [either value? w [do w][print "no way..."]] >> f xyz
no way...
>> z: does [print "hi!"] >> f z
hi! Andrew Martin Yes, way... ICQ: 26227169 http://members.nbci.com/AndrewMartin/