help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Script commandl ine arguments


From: Stephen Compall
Subject: Re: [Help-smalltalk] Script commandl ine arguments
Date: Sat, 02 Sep 2006 22:04:57 -0500
User-agent: Thunderbird 1.5.0.5 (Macintosh/20060719)

Brad Watson wrote:
> Is there a way to get the command line arguments from
> a gst script from with in smalltalk ?

Assuming you know how to tell gst to stop processing arguments itself
and pass them to your program, send #arguments to Smalltalk.

If you are running the development version (post-2.2), look in
kernel/Getopt.st, or see the documentation for class Getopt and
SystemDictionary category 'command-line', for getopt-style processing.

-- 
Stephen Compall
http://scompall.nocandysw.com/blog




reply via email to

[Prev in Thread] Current Thread [Next in Thread]