some.exe "Some Char Parameter",SomeLogicalParameter,SomeNumericParameter,YouGetTheIdeaThen your main program would receive this list and parse it
lparameters tcParameterList && Unlimited (well almost) local laParameters(1), lnParameterCount, lnParameter if vartype(tcParameterList) = 'C' lnParameterCount = alines(laParameters, tcParameterList, ',') else lnParameterCount = 0 endif * Now in the array you have all the parameters, but all as character, so you convert them to their original type: for lnParameter = 1 to lnParameterCount lcParameter = laParameters[lnParameterCount] && an intermediate value if type(lcParameter) = 'U' && The parameter was just a character not between quotes laParameters[lnParameterCount] = tcParameter else laParameters[lnParameterCount] = evaluate(tcParameter) endif endfor * Now laParameters is an array with all parameters and their respective typeI just wrote the code in here without any testing whatsoever, just to give you a different idea