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

[REBOL] Seems I don't understand "load"

From: swhite:ci:bloomington:mn:us at: 26-Feb-2008 9:38

I know this is a dumb question, but I just don't see it. I am trying to make a file transfer script. I want to put the names of the files into another file, so the program can be more general. I make a file like this: —- FILE-LIST: [ index.htm index1.htm logo150.gif logo_fromJan.gif WintixManual.pdf ] —- In my script, if I "load" this file, I get an error message "FILE-LIST has no value." If I put a REBOL header into the file and "do" the file, it works. What is wrong with my understanding of "load"? Thank you. (The file names are strings instead of file names because I have to append a directory name to each and then convert the final string to a file. That is, I believe, a separate issue I am struggling with.) Steven White City of Bloomington 1800 W Old Shakopee Rd Bloomington MN 55431-3096 USA 952-563-4882 (voice) 952-563-4672 (fax)