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

Re: How to pass arguments to Dylan executables from the shell?



dauclair@hotmail.com writes:

> Um, help?

If this is d2c (Gwydion Dylan) then you need to just have the main
function with something like the following in your .lid file:

  entry-point: module-name:%main

Where 'module-name' is the name of the module containing the 'main'
function. You don't need the begin/main/end block.

If it's Functional Developer you get the command line arguments using
application-arguments() from the operating-system module. You don't
need the .lid file entry described above and you do use the
begin/main/end block.

Hope that helps,
Chris.
-- 
http://www.double.co.nz/dylan