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

[REBOL] word Re:(2)

From: fantam:mailandnews at: 13-Aug-2000 19:12

Hello ptretter, Obviously, but I intended to show a simplified script where you prepare a chunk of code (containing words that are not set) meant to be used later on. Sorry I haven't specified it along with my first post. daniel pcn> block: ["a" "b" "c"] pcn> foreach member block [print member] pcn> -----Original Message----- pcn> From: [Fantam--mailandnews--com] [mailto:[Fantam--mailandnews--com]] pcn> Sent: Sunday, August 13, 2000 10:39 AM pcn> To: [list--rebol--com] pcn> Subject: [REBOL] word pcn> I am confused. Consider this small script: pcn> REBOL [] pcn> block: ["a" "b" "c"] pcn> code: [print member] pcn> foreach member block [do code] pcn> Upon execution, I get : pcn> ** Script Error: member has no value. pcn> ** Where: print member
>>>
pcn> I guess I have to use 'bind or 'use somewhere, but I'm not sure which pcn> and how. pcn> Thanks for your help -- Fantam