The Program.Argumentcount statement returns the number of arguments given in the call of the program.
If you write a program test.sb and compile it by running you get a test.exe in the same directory.
if you start a cmd window in Windows, goto the smallbasic directory and execute the exe file by calling test.exe 2 4 6 ,
the argumentcount becomes 3, you can use the argument(s) through e.g. Program.GetArgument(2) which is then 4