Trevor Parscal tparscal@wikimedia.org wrote:
+1 to all the points for using return values.
Zope has a nice solution here:
print "Asdsds"
prints actually to the internal magic variable "printed" which has to be returned later with
return printed
if it's going to end up as the function result.
Not sure if this is possible in Lua.
//Saper