toclr (obsoleto)
From LUA
toclr (obsoleto)
toclr (obsoleto)
toclr(luatype)
Permette di convertire un tipo nativo lua nel corrispondente wrapper NET. Per esempio converte una tabella LUA in una QsLua.LuaTable. Questo comando è obsoleto. Utilizzare la funzione "luatable"
local luanettbl = toclr({'a', 'b', 'c'}) --> luanettbl è una QsLua.LuaTable.local arr = luanettbl:AsArray() --> ritorna un array di stringhe