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

[REBOL] Re: how to pass arguments to script?

From: arolls:bigpond:au at: 5-Sep-2001 0:20

I have a script called "Remind" in my rebsite: Desktop/Rebol.com/sites/Anton/Utils/Remind Just click on it and it should pop a window with example command lines to invoke it. Read the code to see how it handles the arguments. But here is the important bit: args: any [ system/options/args to-block system/script/args ] This ensures that we have the arguments in a block whichever way that they are passed in. (There are two ways, click to find out).