Thanks :-) 2008/12/22 Doriano Blengino <[email protected]>
> [email protected] 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- joshua higgins >>>>>>------ ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
