[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

passing arguments


Hi,

I'm trying to pass arguments with Gambas v3.20.2 on Debian 13 Trixie which is installed via it's APT repo.

If I start a new command line project and add
  Dim iCount As Integer
  Dim iMax As Integer

  iCount = Args.Count
  iMax = Args.Max
So the default created module looks like
Public Sub Main()

  Print "Hello world"

  Dim iCount As Integer
  Dim iMax As Integer

  iCount = Args.Count
  iMax = Args.Max

End

Then from menu navigate
Debug --> Configuration --> Arguments
and type
    MyArg
Click the + symbol
Click Ok

But if F8 step through the iCount and iMax have stayed at 1 and 0 ...

Is this known issue or am I missing something ?

K.


Follow-Ups:
Re: passing argumentsBruce Steers <bsteers4@xxxxxxxxx>