r2594
r2584
1{{{#!wiki style="font-weight: 300; font-size: 20px"
2{{{#!if 식 = '11+2'
r2593
3@식=11+2@}}} = {{{#!if s1=false, s2=false, s3=false, j=1+0, i=0
4##switch1 : 숫자 계속 탐색하기, switch2 : 소수점 아래 기입하기. switch3 : 중복 실행 방지.
r2594
5}}}{{{#!if this['d'+i] = (식[i]>=48&&식[i]<=57)
r2593
6}}}{{{#!if (s1==false)&&this['d'+i]&&(s3==false)
r2594
7##숫자를 발견할 경우
r2591
8{{{#!if this['v'+j] = +(식.substr(i,1)), s1=true, s3=true
9##여기에 앞자리가 음수냐 아니냐를 읽는 판별을 만들어야 합니다.
10}}}}}}{{{#!if (s1==true)&&this['d'+i]&&(s3==false)
11##숫자를 계속 발견할 경우 (소수점일 수도 있습니다. 여기서는 숫자일 경우)
r2592
12##여기에서 소수점 위를 기입하냐 소수점 아래를 기입하냐 소수점 아래라면 소수점 아래 몇번째 자리를 기입하느냐를 적어야 합니다.
r2591
13{{{#!if this['v'+j] = 10*this['v'+j]+(식.substr(i,1)), s3=true
14}}}}}}{{{#!if (s1==true)&&(식[i]==46)&&(s3==false)
15##숫자를 계속 발견할 경우 (여기서는 소수점일 경우)
16{{{#!if s2=true, s3=true
17}}}}}}{{{#!if (s1==true)&&!this['d'+i]&&(s3==false)
18##숫자가 더 이상 나오지 않을 경우
19{{{#!if j+=1, s1=false, s2=false, s3=true
r2592
20##소수점 아래 기입하는 스위치도 off, 다음 index(j) 매김.
r2594
21}}}}}}{{{#!if i+=1
22}}}
r2593
23
24{{{#!if this['d'+i] = (식[i]>=48&&식[i]<=57), i+=1
r2586
25}}}{{{#!if this['d'+i] = (식[i]>=48&&식[i]<=57), i+=1
26}}}{{{#!if this['d'+i] = (식[i]>=48&&식[i]<=57), i+=1
r2584
27}}}
r2593
28
29## {{{#!if this['v0'] == 1
30## asdf}}}
31
r2586
32## 식 검증이 됐다 치면
r2587
33## dn : true - 수 / false - 연산자
r2586
34{{{#!if this['d0']
351}}}{{{#!if this['d1']
361}}}{{{#!if !this['d2']
37+}}}{{{#!if this['d3']
r2585
382}}}
r2587
39## in : 11+2 에서 '11'은 0번째 위치, '+'는 2번째 위치.. > 0, 2, 3 > 위치 기억 / 뺄셈으로 자릿수 계산
40## 보다 좋은 방법이 있ㅅ을 것 같은데음ㅁ..
41{{{#!if i = 1, j = 1, i0 = 0
42}}}
r2584
43
r2587
44{{{#!if t = this['d0'] != this['d1'], t
45{{{#!if this['i'+i] = j, j+=1, i+=1
46}}}}}}{{{#!if !t
47{{{#!if j+=1
48}}}}}}{{{#!if t = this['d1'] != this['d2'], t
49{{{#!if this['i'+i] = j, j+=1, i+=1
50}}}}}}{{{#!if !t
51{{{#!if j+=1
52}}}}}}{{{#!if t = this['d1'] != this['d2'], t
53{{{#!if this['i'+i] = j, j+=1, i+=1
54}}}}}}{{{#!if !t
55{{{#!if j+=1
r2585
56}}}}}}
r2584
57
r2587
58{{{#!if i0 == 0
r2588
59i0 == 0 }}}{{{#!if i1 == 2
60i1 == 2 }}}{{{#!if i2 == 3
61i2 == 3 }}}
r2587
62
63
64## {{{#!if list = [d0, d1, d2, d3]
65## }}}
66}}}
r2585
67[include(틀:계산기2, r=13)]
r2582
68##생각해보니까 그냥 r을 지정할 수도 있겠구나
69
r2580
70{{{#!if 0.1 + 0.2 != 0.3
710.1 + 0.2 '''{{{#red !}}}=''' 0.3}}}
72{{{#!if 1 + 0.1 == 1.1
731 + 0.1 '''==''' 1.1}}}
r2569
74
r2581
75{{{#!if a=1
76}}}{{{#!if a+=1, a == 2
77asdf}}}
78
r2571
79[include(틀:계산기, a=123456789, f=+, b=1)]
80[include(틀:계산기, a=123456789, f=-, b=1)]
81[include(틀:계산기, a=123459, f=*, b=2)]
82[include(틀:계산기, a=123459, f=/, b=2)]
r2569
83
r2572
84[include(틀:계산기2, a=10, f=/, b=3)]
r2573
85[include(틀:계산기2, a=-5, f=/, b=200)]
86[include(틀:계산기2, a=-5, f=*, b=200)]
r2574
87[include(틀:계산기2, a=123459, f=/, b=2)]
r2575
88[include(틀:계산기2, a=12345, f=-, b=67890)]
r2579
89[include(틀:계산기2, a=-1, f=*, b=-5)]
r2583
90[include(틀:계산기2, a=-3, f=/, b=7)]
r2577
91[include(틀:계산기2, a=1.1, f=+, b=0.1)]
r2578
92아직은 소수끼리의 계산은 되지 않는 모양이다. (사실 그도 그럴 것이 gauss함수를 가져오지 않았기 때문)
r2569
93
r2560
94{{{#!if json={'a':'b', 'c':'d'}
95json={'a':'b', 'c':'d'}[br]
96}}}{{{#!if json['a'] == 'b'
97json['a'] == 'b'[br]
98}}}{{{#!if list = ['a', 'b']
99list = ['a', 'b'][br]
100}}}{{{#!if list[1] == 'b'
101list[1] == 'b'[br]
102}}}
103
r2568
104[[../냥]] < 볼드체. 단, {{{../}}}뒤에 붙는 이름이 자기자신과 같은 이름이면 볼드체, 다른 이름(예 : [[../냥냥]], [[../냥/냥]])이면 볼드체가 아니다. 문서명이 '[[냥/냥|(상위문서명)/냥]]'일 경우에도 볼드체가 된다. 이 문서에는 상위 문서가 없으니 그냥 '냥' 으로 링크되는 듯 하다.
r2559
105[[냥#]] < 볼드체
106[[냥#ㅁㄴㅇㄹ|냥#ㅁㄴㅇㄹ]] < 볼드체아님
r2557
107[[문서:냥]] < 볼드체아님
r2560
108
r2558
109== ㅁㄴㅇㄹ ==
r2114
110
r2128
111[include(a)]''''''[include(a)][include(a)]
r2130
112[[]][include(a)][include(a)][include(a)]
r2127
113
r2118
114'''{{{#!wiki style="width: 80px; height: 80px; color: transparent; background: text linear-gradient(to right bottom, #9a8ef2 15%, transparent 55%), text linear-gradient(to left bottom, #cb83c4 15%, transparent 55%), text linear-gradient(to right top, #fd6e77 15%, transparent 75%),text linear-gradient(to left top, #ed9861 15%, transparent 75%)"
115asdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdf}}}'''
r2114
116
r2112
117[include(틀:각주, 각주명=각주명에 띄어쓰기 넣기, 내용=[include(틀:각주\, 각주명=각주명에 띄어쓰기 넣기\, 내용=\)])]
r2110
118
r2111
119{{{#!wiki style="background: skyblue; margin: 0 auto; padding: 5px; max-width: 500px"
r2105
120||<tablealign=center><tablewidth=100%><tablebordercolor=transparent><tablebgcolor=red><bgcolor=#000>||
121
r2109
122||<tablealign=center><tablewidth=100%><tablebordercolor=transparent><tablebgcolor=red><rowbgcolor=#000>||
123||<colbgcolor=#000>||
r2108
124||<tan>||
r2106
125
r2107
126||<tablealign=center><tablewidth=100%><bgcolor=#000>||
127
128||<tablealign=center><tablewidth=100%>||}}}
r2095
129Mozilla/5.0 (compatible; Daum/1.0; +http://ws.daum.net/aboutkr.html) ok
r2096
130Mozilla/5.0 (compatible; coccocbot-web/1.0; +http://help.coccoc.com/web) ok
r2104
131\[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, uuid=2d701244-1d84-4716-8717-e07569140961)]
132[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, uuid=2d701244-1d84-4716-8717-e07569140961)]
r2075
133----
r2104
134\[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, UUID=2d701244-1d84-4716-8717-e07569140961, uuid=2d701244-1d84-4716-8717-e0756914096d)]
135[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, UUID=2d701244-1d84-4716-8717-e07569140961, uuid=2d701244-1d84-4716-8717-e0756914096d)]
r2075
136----
r2104
137\[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=-1, UUID=2d701244-1d84-4716-8717-e07569140961)]
138[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=-1, UUID=2d701244-1d84-4716-8717-e07569140961)]
r2075
139----
r2104
140\[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, UUID=)]
141[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, UUID=)]
r2077
142----
r2104
143\[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, uuid=2d701244-1d84-4716-8717-e0756914096x)]
144[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, uuid=2d701244-1d84-4716-8717-e0756914096x)]
r2075
145----
r2104
146\[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, UUID=2d701244-1d84-4716-8717-e07569140961)]
147[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, UUID=2d701244-1d84-4716-8717-e07569140961)]
r2075
148----
r2104
149\[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, UUID=2d701244-1d84-4716-8717-e0756914096x)]
150[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, UUID=2d701244-1d84-4716-8717-e0756914096x)]
r2075
151----
r2104
152\[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, uuid=2d701244-1d84-4716-8717-e07569140961, UUID=2d701244-1d84-4716-8717-e07569140961)]
153[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, uuid=2d701244-1d84-4716-8717-e07569140961, UUID=2d701244-1d84-4716-8717-e07569140961)]
r2076
154----
r2068
155\[include(틀:isuuid, uuid=1dd4a127-1b8d-4788-8cea-9ff8b1ddd06e)]
r2062
156[include(틀:isuuid, uuid=1dd4a127-1b8d-4788-8cea-9ff8b1ddd06e)]
r2075
157----
r2068
158\[include(틀:isuuid, uuid=xdd4a127-1b8d-4788-8cea-9ff8b1ddd0xx)]
r2064
159[include(틀:isuuid, uuid=xdd4a127-1b8d-4788-8cea-9ff8b1ddd0xx)]
r2068
160\[include(틀:isuuid, uuid=냥)]
161[include(틀:isuuid, uuid=냥)]
r2580
162[include(틀:ㅁ, str=Hello\, World!)]
163toString() 가능
164parseInt() x