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

[REBOL] Re: can one get commandline arguments to a rebol script

From: joel:neely:fedex at: 10-Apr-2002 7:09

Hi, Bryan, Bryan Rasmussen wrote:
> Can one have a rebol script with a commandline argument so > that one can call it like this > > rebolargs.r hello="world" >
Within the running script system/options/args gives you a block of string arguments, and system/script/args gives you a single string with all of the above concatenated. -jn- -- ; Joel Neely joeldotneelyatfedexdotcom REBOL [] do [ do func [s] [ foreach [a b] s [prin b] ] sort/skip do function [s] [t] [ t: "" foreach [a b] s [repend t [b a]] t ] { | e s m!zauafBpcvekexEohthjJakwLrngohOqrlryRnsctdtiub} 2 ]