You catch the args with the array args. args(0) is the first parameter, args(1) the second etc, and arraylen(args) returns the number or arguments.Hi, anyone tryed to pass args from one basic4ppc app to another....I don't understand exactly how to catch the args....
Sub Globals
End Sub
Sub App_Start
for i = 0 to ArrayLen(args())-1
msgbox("Arg(" & i & "): " & args(i))
next
End Sub
CableGuy originally wrote:
BTW: could you please delete the thread on "share your creations"?, there's no point on keeping it until I'm 200% sure this works....
Oops! Sorry, quick and dirty demo without thinking of the consequences :sign0013:Apparently these programs were compiled as desktop executables.