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

[REBOL] Re: ANN: rebol-framework-006

From: anton:lexicon at: 22-Jan-2003 17:53

I agree with Gabriele. I wrote two scripts which print out the following: ------------- system/script/header/file: %script-name.r system/script/path: /D/Anton/Dev/Rebol/View/local/demo/ system/options/script: none ------------- system/script/header/file: %script-name-2.r system/script/path: /D/Anton/Dev/Rebol/View/local/demo/ system/options/script: none The first script prints out the first three lines, and then calls the second script, which does the same thing. The above is what you get when you start in the console. I made an icon for the desktop, and here you see the output is slightly different: ------------- system/script/header/file: %script-name.r system/script/path: /d/anton/dev/rebol/view/local/demo/ system/options/script: /d/anton/dev/rebol/view/local/demo/script-name.r ------------- system/script/header/file: %script-name-2.r system/script/path: /d/anton/dev/rebol/view/local/demo/ system/options/script: /d/anton/dev/rebol/view/local/demo/script-name.r As you can see, if you expect your users might launch your program from the console, don't use system/options/script. Anton.