still a beginner here.

i was hardcoding a log file for parseing  like this:

binkd-log: read/lines  %binkd.log

and doing a:    forall binkd-log  []  later on

i wanted to add command line parsing so i tried this:

either not system/script/args == none [
        arg: system/script/args
        arg: parse arg ""
        binkd-log: read/lines arg/1
][
        print "usage: <path/to/binkd.log>"
]

but i get:

** Script Error: read expected source argument of type: file url
object block

how do i get the equivalent of 'read/lines %binkd.log'  into binkd-log
from the arg/1 argument?


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to