Top  Previous  Next

prints the arguments to this function to the web page.


print( value,... )


value can be any object that can be translated to a string. This is pretty much anything in Lua. Just like with the normal print function multiple values can be passed separated by commas. In the output these values are separated by tabs. Note that in HTML tabs are treated as a single space.


print("Hey awesome webapge, with lua version: ", _VERSION)


This would print


Hey awesome webapge, with lua version: Lua 5.1

Alternative name

webserver:print( value, ... )


Provided for Girder 5 compatibility.


Lua context during page load.