Greetings! Gabriel Dos Reis <[EMAIL PROTECTED]> writes:
> On Fri, 2 Mar 2007, Camm Maguire wrote: > > | [ Note: Back from one month out of office ] > > Welcome back! > > Please could you hand hold me a bit through GCL? > > I'm interested in processing command line arguments used to invoke GCL or > images obtained from saving GCL. In particular, assume I have a saved > image "foo", and it is invoked like this: > > ./foo --mumble --jumble=bar > > How do I get my hand on the command line arguments --mumble and > --jumble=bar? > A good example is gcl-top-level, for example: (si::get-command-arg "-compile") > > Furthermore, is there an equivalent of C's main() function in GCL? > A good idea is to set si::*top-level-hook*, like in hol88: (progn (setq si::*top-level-hook* (lambda nil (tml))) (gbc t) (si::save-system file)) 'tml is their top level. Take care, > Thanks, > > -- Gaby > > > -- Camm Maguire [EMAIL PROTECTED] ========================================================================== "The earth is but one country, and mankind its citizens." -- Baha'u'llah _______________________________________________ Gcl-devel mailing list Gcl-devel@gnu.org http://lists.gnu.org/mailman/listinfo/gcl-devel