short answer yes you retrieve it by using Application.Args[index]
nb: Application.Args[0] is the program name Check in help for more details of how to use. Steven On Mon, 2009-08-17 at 00:34 -0700, charlesg wrote: > Hi all, > > Can I pass a parameter to a Gambas program? > e.g myprog.gambas parm1 > > How do I read the parameter? > Any help gratefully received. > > rgds ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user