>> Trevor Parscal <tpars...@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 _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l