gam...@organet.com 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user