[Gambas-user] read commandline invocation
Joshua Higgins
joshiggins at ...1601...
Mon Dec 22 21:34:26 CET 2008
Thanks :-)
2008/12/22 Doriano Blengino <doriano.blengino at ...1909...>
> gambas at ...1938... ha scritto:
> > Am Sonntag, 21. Dezember 2008 02:17:56 schrieb Joshua Higgins:
> >
> >> Probably a stupid question, but I can't figure it out :S
> >> How do I get my Gambas program to read how it was invoked from the
> command
> >> line?
> >>
> >> Thanks.
> >>
> > I think Application.Read is your friend. ;-)
> >
> Application.Args[index] is what you are looking for... "print
> application.args[0]" will print the command name (/usr/bin/test.gambas
> for example).
>
> Regards,
> Doriano
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
joshua higgins
>>>>>>------
More information about the User
mailing list