[Gambas-bugtracker] Bug #1640: Arguments created on properties screen are ignored by Application.Args class
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Sun Sep 22 03:52:31 CEST 2019
http://gambaswiki.org/bugtracker/edit?object=BUG.1640&from=L21haW4-
Comment #2 by Walter RIBEIRO:
1 - Create a Commnd-line application named argumentTest
2 - Open Properties screen and insert 2 arguments: par1 and par2
3 - Run the following code
Public Sub Main()
Dim i As Integer
Print Application.Args.Count
For i = 0 To Application.Args.Count
Print Application.Args[i]
Next
End
The Output will be:
1
argumentTest
But it should be:
3
argumentTest
par1
par2
Walter RIBEIRO changed the state of the bug to: Accepted.
More information about the Bugtracker
mailing list