* Compare
if (left < right) then
elseif (left == right) then
else
end
* Loop
for i = 1, 10, 1 do
end
* Loop for array
for item in expression do
end
* Function definition
function foo()
end
* Print message
print("Hello world!")
** Wow Register
this:RegisterEvent("PLAYER_TARGET_CHANGED")
'Program > Lua' 카테고리의 다른 글
| Lua - MessageFrame:AddMessage (0) | 2011/03/12 |
|---|---|
| Lua - Control Statement (0) | 2011/02/23 |
이 포스팅이 도움이 되었다면 구글에서 관련 정보를 찾아 보세요 ^^

Prev



