https://www.lua.org/download.html

https://code.visualstudio.com/

 

 

 


ture인 경우

=========

local a = true                      --- boolean 변수에 true를 넣은 경우

local b = 0                          --- 변수에 값이 있는 경우

local c = 'abc'                      --- 변수에 값이 있는 경우

local d = ''                            --- 이건 왜 ture일까?

locla e = ' '                          --- 이건 왜 ture일까? 공백문자 때문인가?



false인 경우 4가지
==============
local a = false                      --- boolean 변수에 false를 넣은 경우

local b = nil                          --- 변수에 nil값을 넣은 경우

local c                                   --- 변수를 선언하고 값이 없는 경우

선언하지 않은 변수


if d then                       --- 선언하지 않는 변수를 사용하면 false다

     print('true')

     else

     print('false')              --- 출력결과 a, b, c, d 모두 false이다,

end

 

 

참고

https://maplestoryworlds-developers.nexon.com/ko/docs/?postId=74 

 

MapleStory Worlds-DEVELOPER

메이플스토리 월드의 개발자센터입니다.

maplestoryworlds-developers.nexon.com

 

 

https://maplestoryworlds.nexon.com/play

 

플레이

다양한 세상을 플레이해요.

maplestoryworlds.nexon.com

 

https://maplestoryworlds.nexon.com/play

 

플레이

다양한 세상을 플레이해요.

maplestoryworlds.nexon.com

 

https://maplestoryworlds.nexon.com/play

 

플레이

다양한 세상을 플레이해요.

maplestoryworlds.nexon.com

 

+ Recent posts