r17 vs r18
......
131131
{{{#!if c==" "
132132
출력 (c="{{{#gray ''(space)''}}}")}}}
133133
134
==# 기타 #==
134
== this 함수 ==
135
===# this \[{{{#orange \'}}}{{{#green 변수명}}}{{{#orange \'}}}\] #===
135136
this['true']=true 테스트
136137
{{{#!if this['true']==true
137138
출력 }}}
......
163164
+this['a']+this['b']=+this['c'] 테스트 : 변수 호출하지 않으면 ++=상태가 된다.
164165
{{{#!if +this['a']+this['b']==+this['c']
165166
출력}}}
166
------
167
----
167168
(+this['a'])+(+this['b'])=+this['c'] 테스트 : 변수 호출하지 않으면 ++=상태가 된다.
168169
{{{#!if +this['a']+this['b']==+this['c']
169170
출력}}}
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