T
Thierry Ciot
Guest
Wrapping into a function is not necessary. The key thing is that the last statement will be used as return value - but as I mentioned above, you do not need to finish your code with a return statement (I know it feels a bit weird when you look at the code) but do not use return statement. The output of a function call or the evaluation of a variable will be enough. Another way to put it is write your code as if there was an invisible return statement. Thierry
Continue reading...
Continue reading...