"WIKI:특수 명령문"의 두 판 사이의 차이

이 문서는 2020년 7월 17일 (금) 08:30에 마지막으로 편집되었습니다.
(새 문서: '''특수 명령문'''은 다양한 기능을 가지고 있어 복잡하게 동작하는 틀을 만들때 효과적입니다. == #expr == {| class="wikitable" style="float:{{dir|{{p...)
 
5번째 줄: 5번째 줄:
{| class="wikitable" style="float:{{dir|{{pagelang}}|left|right}}; width:30%; margin-{{dir|{{pagelang}}|right|left}}:1em"
{| class="wikitable" style="float:{{dir|{{pagelang}}|left|right}}; width:30%; margin-{{dir|{{pagelang}}|right|left}}:1em"
|-
|-
! {{hl1}} | <translate><!--T:3--> Type</translate>
! | <!--T:3--> Type
! {{hl1}} | <translate><!--T:4--> Operators</translate>
! | <!--T:4--> Operators
|-
|-
| {{hl2}} | <translate><!--T:5--> Grouping (parentheses)</translate>
| | <!--T:5--> Grouping (parentheses)
| style="word-spacing: 0.5em; font-weight: bold;" | <code>( )</code>
| style="word-spacing: 0.5em; font-weight: bold;" | <code>( )</code>
|-
|-
| {{hl2}} | <translate><!--T:6--> Numbers</translate>
| | <!--T:6--> Numbers
| <code>'''1234.5'''</code> &nbsp; <code>'''e'''</code>&nbsp;(2.718) &nbsp; <code>'''pi'''</code>&nbsp;(3.142)
| <code>'''1234.5'''</code> &nbsp; <code>'''e'''</code>&nbsp;(2.718) &nbsp; <code>'''pi'''</code>&nbsp;(3.142)
|-
|-
| {{hl2}} |
| |
| <translate><!--T:7--> binary operator</translate> <code>'''e'''</code> &nbsp; <translate><!--T:8--> unary</translate> <code>'''+'''</code>,<code>'''-'''</code>
| <!--T:7--> binary operator> <code>'''e'''</code> &nbsp; <!--T:8--> unary <code>'''+'''</code>,<code>'''-'''</code>
|-
|-
| {{hl2}} | <translate><!--T:9--> Unary</translate>
| | <!--T:9--> Unary
| style="word-spacing: 0.5em; font-weight: bold;" | <code>not ceil trunc floor abs exp ln sin cos tan acos asin atan</code>
| style="word-spacing: 0.5em; font-weight: bold;" | <code>not ceil trunc floor abs exp ln sin cos tan acos asin atan</code>
|-
|-
| {{hl2}} rowspan="3" | <translate><!--T:10--> Binary</translate>
| rowspan="3" | <!--T:10--> Binary
| style="word-spacing: 0.5em; font-weight: bold;" | <code>^</code>
| style="word-spacing: 0.5em; font-weight: bold;" | <code>^</code>
|-
|-
27번째 줄: 27번째 줄:
| style="word-spacing: 0.5em; font-weight: bold;" | <code>+ -</code>
| style="word-spacing: 0.5em; font-weight: bold;" | <code>+ -</code>
|-
|-
| {{hl2}} | <translate><!--T:11--> Round</translate>
| | <translate><!--T:11--> Round</translate>
| style="word-spacing: 0.5em; font-weight: bold;" | <code>round</code>
| style="word-spacing: 0.5em; font-weight: bold;" | <code>round</code>
|-
|-
| {{hl2}} rowspan="3" | <translate><!--T:12--> Logic</translate>
| rowspan="3" | <!--T:12--> Logic
| style="word-spacing: 0.5em; font-weight: bold;" | <code>= != <> > < >= <=</code>
| style="word-spacing: 0.5em; font-weight: bold;" | <code>= != <> > < >= <=</code>
|-
|-

2020년 7월 17일 (금) 08:30 판

특수 명령문은 다양한 기능을 가지고 있어 복잡하게 동작하는 틀을 만들때 효과적입니다.

#expr

Type Operators
Grouping (parentheses) ( )
Numbers 1234.5   e (2.718)   pi (3.142)
binary operator> e   unary +,-
Unary not ceil trunc floor abs exp ln sin cos tan acos asin atan
Binary ^
* / div mod
+ -
<translate> Round</translate> round
Logic = != <> > < >= <=
and
or