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

[REBOL] [bug?] Problem with 'load

From: SunandaDH:aol at: 27-Nov-2003 16:49

Is this a bug, or am I just being thick? I just want to evaluate a header, but REBOL won't let me even load it if the needs aren't met: load/all/header "rebol [needs: [1.2.1 view]]" will work if you are running view. But ask for a version you definitely don't have:
>> load/all/header "rebol [needs: [1.2.1 xxxx]]"
** Script Error: This script needs xxxx or better to function correctly ** Near: load/all/header "rebol [needs: [1.2.1 xxxx]]" Load/all is not meant to evaluate, so I reckon it's a bug. It's certainly a problem. Thanks to Chris RG for spotting this while trying to contribute a script to the Script Library....We try to load the header for validation, but we're running Core so the problem was reported as an "unable to load" error, leading to some mutual head-scratching. Sunanda.