[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
passing arguments
[Thread Prev] | [Thread Next]
- Subject: passing arguments
- From: KKing <kicking177@xxxxxxxxx>
- Date: Mon, 16 Nov 2026 13:13:53 +1030
- To: user@xxxxxxxxxxxxxxxxxxxxxx
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.
| Re: passing arguments | Bruce Steers <bsteers4@xxxxxxxxx> |