Command Line Arguments
Previous Top Next

Reading the command line arguments is done using a special built-in array named args.
Use ArrayLen to find the number of arguments available.
In order to simulate command line arguments from the IDE you can use Tools - Command line arguments.

Example:
Sub Globals

End Sub
Sub App_Start
      For i = 0 To ArrayLen(args())-1
            Msgbox(args(i))
      Next
End Sub