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


From: greggirwin:mindspring at: 7-Jul-2002 11:25

Hi Joanna, << I have to confess.. I can't understand it at all.. I'll definitely need more time with REBOL :) >> Let me know if there's anything you want explained. The clarity of my code is probably much more at fault than REBOL. << But I get this error.. I'm using View ** Script Error: as-pair has no value...> Sorry about that. The risk of quick hacking and not testing on anything other than my current environment. As Anton pointed out, it's in the new version. Rather than forcing people to use the new beta, though, you can just include it in the script. That way it will run everywhere. ; as-pair is a mezzanine in View releases after 1.2.1. ; Included here for prior versions. as-pair: func [ "Combine X and Y values into a pair." x [number!] y [number!] ][ to-pair reduce [to-integer x to-integer y] ] That's a nice feature of being able to source mezzanines. You can patch them in manually for use on older releases of the interpreter. Let me know if it works for you with the above function patched in. --Gregg