r39 vs r40
......
127127
128128
== 변수 a=b, b=1 테스트 ==
129129
변수 하나를 다른 변수의 포인터(point)로 두고 테스트.
130
기준 1. {{{#!wiki style="display: inline; font-family: monospace;"
131
\[include(테스트:If문법/include 대상)\]}}}으로 둘 경우
132
{{{#!folding [펼치기 · 접기]
133
{{{-5 {{{-3 [include(테스트:If문법/include 대상)]}}}}}}}}}
134
----
135
기준 2. a=b 검증 : {{{#!if a=='b'
136
검증됨}}}
137
----
130138
a=b, b=1로 둘 경우 ({{{#!wiki style="display: inline; font-family: monospace;"
131139
\[include(테스트:If문법/include 대상, a=b, b=1)\]}}})
132140
{{{#!folding [펼치기 · 접기]
133
{{{-5 {{{-3 [include(테스트:If문법/include 대상, a=b, b=1)]}}}}}}}}}
134
141
{{{-5 {{{-3 [include(테스트:If문법/include 대상, a=b, b=1)]}}}}}}}}}+this[a], this[a]가 작동된다.
142
----
135143
* {{{#orange 결론 1 :}}} {{{#!wiki style="display: inline; font-family: monospace;"
136144
this\[{{{#green 변수명}}}\]}}}은 문서를 include로 불러올 때 동작된다.
137145
포인터(pointer) 변수같이 해당 {{{#!wiki style="display: inline; font-family: monospace;"
138146
{{{#green 변수명}}}}}}을 텍스트 값으로 정의하는 다른 변수 ({{{#!wiki style="display: inline; font-family: monospace;"
139
변수명2={{{#green 변수명}}}}}}) 문서 include하는 겸에 include 구문 안에 해당 식을 include 불러오면 동작된다.
147
변수명2={{{#green 변수명}}}}}}) 식을 include 구문(문법)의 괄호 ( ) 안에 같이어야 문서를 include했을 동작된다.
140148
== 변수 c\= ==
141149
null과 "" 이 어떤 조건에서 되는지 테스트.
142150
||<table bgcolor=transparent,transparent> 구분 ||<width=20%> {{{#blue c==null}}} ||<width=20%> {{{#orange c==""}}} ||<width=20%> c=={{{#gray ''(space)''}}} ||<width=20%> c="{{{#gray ''(space)''}}}" ||
......