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

[REBOL] Re: noob question: why 3 different outputs

From: kpeters::otaksoft::com at: 23-Apr-2008 11:05

Hi Doug ~ hmm, none of the gurus who have helped me out so often have replied yet, so I will take a stab: Probe and "type?" are your best friends here. Take a look at what you are passing to your function with probe myfields print type? myfields1 probe myfields1/1 print type? myfields1/1 etc. Do this for all 4 and you will see that what seems to be a subtle difference is a big one in Rebol (some learning curve for programmers coming from more "conventional" languages). Also, remember that everything inside a block is 'safe' from evaluation - unless you ask Rebol for it, as you are doing via "reduce" in example 4 HTH Kai