Hi,
is it too much complicated?
No, it isn't I like the concept. I was just thinking about simplification of IF/THEN/ENDIF nesting while testing params to something like:
IF thinbasic_paramsok("(VVSV)", var1, var2, string1, var3) THEN
<CODE IF PARAMS OK>
END IF
The first parameter is "mask" of parameters, where "()" means open/close parenthesis, "V" means value and "S" means string; the next parameters are variables, to which the params would be stored.
But I think that way would be too unpractical/unapplicable for functions with optional params
That's all for now
Psch
Bookmarks