| r17 vs r18 | ||
|---|---|---|
| ... | ... | |
| 131 | 131 | {{{#!if c==" " |
| 132 | 132 | 출력 (c="{{{#gray ''(space)''}}}")}}} |
| 133 | 133 | |
| 134 | ==# | |
| 134 | == this 함수 == | |
| 135 | ===# this \[{{{#orange \'}}}{{{#green 변수명}}}{{{#orange \'}}}\] #=== | |
| 135 | 136 | this['true']=true 테스트 |
| 136 | 137 | {{{#!if this['true']==true |
| 137 | 138 | 출력 }}} |
| ... | ... | |
| 163 | 164 | +this['a']+this['b']=+this['c'] 테스트 : 변수 호출하지 않으면 ++=상태가 된다. |
| 164 | 165 | {{{#!if +this['a']+this['b']==+this['c'] |
| 165 | 166 | 출력}}} |
| 166 | ---- | |
| 167 | ---- | |
| 167 | 168 | (+this['a'])+(+this['b'])=+this['c'] 테스트 : 변수 호출하지 않으면 ++=상태가 된다. |
| 168 | 169 | {{{#!if +this['a']+this['b']==+this['c'] |
| 169 | 170 | 출력}}} |
| 171 | ||
| 172 | ===# this \[{{{#orange \+}}}{{{#green 변수명}}}\] #=== | |
| 173 | {{{#!wiki style="display: inline; font-family: monospace;" | |
| 174 | this}}} 함수 안에 {{{#!wiki style="display: inline; font-family: monospace;" | |
| 175 | '{{{#green 변수명}}}'}}} 이 변수를 텍스트 값으로 부르는 구문이라 가정한다면, {{{#!wiki style="display: inline; font-family: monospace;" | |
| 176 | this}}} 함수 안에 다른 모양을 넣고 테스트. | |
| 177 | ---- | |
| 178 | if this[+a]=1 테스트 | |
| 179 | {{{#!if this[+a]==1 | |
| 180 | 출력}}} | |
| 181 | ---- | |
| 182 | if this[+a]='1' 테스트 | |
| 183 | {{{#!if this[+a]=='1' | |
| 184 | 출력}}} | |
| 185 | ---- | |
| 186 | if this[+a]="1" 테스트 | |
| 187 | {{{#!if this[+a]=="1" | |
| 188 | 출력}}} | |
| 189 | ---- | |
| 190 | if this[-a]=-1 테스트 | |
| 191 | {{{#!if this[-a]==-1 | |
| 192 | 출력}}} | |
| 193 | ||
| 194 |