Difference between revisions of "Gamecamp"

From Ghoulwiki
Jump to: navigation, search
Line 5: Line 5:
 
=== lua intro ===
 
=== lua intro ===
  
 +
* kein int, alles float
 +
* multiple return
 +
* todo : unpack
 +
*
 
* for i=1,10 do ... end
 
* for i=1,10 do ... end
 
* if (cond) then ... elseif (cond) then ... else ... end
 
* if (cond) then ... elseif (cond) then ... else ... end
 +
 +
 +
==== tables ====
 +
 +
* key und value any
 +
* löschen = assign nil

Revision as of 11:40, 23 May 2010

http://www.gamecampmunich.de/


lua intro

  • kein int, alles float
  • multiple return
  • todo : unpack
  • for i=1,10 do ... end
  • if (cond) then ... elseif (cond) then ... else ... end


tables

  • key und value any
  • löschen = assign nil