varargs best practice?
revolution at derbrill.de
Tue Dec 7 03:24:49 EST 2010
Is this any help?
repeat with i=1 to paramcount()
if i<paramcount() then
put param(i)&"," after tValue
put param(i) after tValue
-- now you have all args in one string, seperated by commas. First one is tVerb
put item 1 of tValue into tVerb
-- do something with the remainder
repeat with i=2 to the number of items of tValue
put item i of tValue into tParam[i]
More information about the Use-livecode