[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: passing arguments
[Thread Prev] | [Thread Next]
- Subject: Re: passing arguments
- From: KKing <kicking177@xxxxxxxxx>
- Date: Tue, 17 Nov 2026 13:21:52 +1030
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Hi BruceS, Ta, I missed the drop down to select args to pass K. - - -
Did you "Use" the arg? You have to more than "add" it in the config.The IDE has a run button and when you have args set there should be an arrow to show a popup list of your args on the button.Respects BruceS On Mon, 16 Nov 2026 at 02:44, KKing <kicking177@xxxxxxxxx> wrote: 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.