Swee Kwang Tan wrote:
> We can write it in C/C++, like this
> int main (int argc, char * argv[]) {
>       if (argc < 3) {
>          ....
>
>   
Hi,

Try:

PUBLIC SUB Main()

  DIM a AS String

  PRINT "Count " & Application.Args.Count

  FOR EACH a IN Application.Args
    PRINT a
  NEXT

END

http://gambasdoc.org/help/comp/gb/application/args

Kind regards,
Ron_2nd.


------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to