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

[REBOL] command line arguments

From: tmail5:cogeco:ca at: 6-Apr-2004 13:46

On Mon, 5 Apr 2004 23:07:54 +1000, you wrote:
>What was the error ?
this is the section of code in question: Rebol [] either not system/script/args == none [ arg: system/script/args arg: parse arg "" log: to-file arg/1 binkd-log: read/lines log days: to-integer arg/2 ][ print "usage: <path/to/binkd.log> <days>" ask "hit enter:" quit ]