long (class)

From PGE Wiki
Jump to navigation Jump to search


Long - is an Integer number type.

long is a not lua-used type. It is only provided as hardcoded argument for several functions.

This argument-type is based on the lua-typ number.

local a = 5
local b = 4
printText(tostring(a).." + "..tostring(b).." = "..tostring(a+b), 30, 100) --calculates a+b and prints out the result.