GP2X dev : Fishguts I
So I have my Main() running from lua, detect the host platform (pc,psp,gp2x) and loading the different title screen, intialising builtin variables and flags etc…
ran into my first big annoyance with Lua
"a" + b() + "c"
does not work, but;
"a" .. b() .. "c"
works just fine! Lua co-erces things to string and number everywhere else but wont ‘add’ them together with a function in the middle.. you must ‘concat’ them (the double dots).
AARGH!
Filed Under : Computers • Development • Fishguts •
Comments are closed There are no comments on this entry.
Tags: