syntax - VB6 Recursion and return variables in functions -


this syntax question. confused when "return variable" in function used return variable or method call. instance, if have:

function foo() boolean      foo = true      foo = foo , bar end function 

does second line in function act recursive call foo, or resolve true previous assignment?

to value of last assignment:

foo = foo , bar 

to make recursive call:

foo = foo() , bar 

the () makes difference. (btw, applies vba too.)


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -