My question was really directed to Erel and asking him if it would be possible to modify the B4X IDE/Compiler to implement optional parameters just like Microsoft's VB6/VB.NET IDE/Compiler does so B4X will have all of the abilities that LucaMs listed in his first post.
My question was really directed to Erel and asking him if it would be possible to modify the B4X IDE/Compiler to implement optional parameters just like Microsoft's VB6/VB.NET IDE/Compiler does so B4X will have all of the abilities that LucaMs listed in his first post.
Thanks but, even if I agree, optional parameters are useful (sometimes), I refer to the possibility of using CallSub and CallSubDelayed with an unlimited number of arguments, which is not the same thing.
I think that this thread could be considered closed
In languages in which support variable length parameter lists the compiler massages them into an array of Objects that is passed to the method so the actual method always has a fixed number of parameters in its declaration, the last of which is an Object array.