Difference between revisions of "If Command"
From GeoGebra Manual
m (improve category sort, applied Italic font to objects) |
m (improve category sort - simple version) |
||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page}}[[Category:Manual (official)| | + | <noinclude>{{Manual Page}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> |
; If[Condition, Object]: Yields a copy of the object if the condition evaluates to ''true'', and an undefined object if it evaluates to ''false''. | ; If[Condition, Object]: Yields a copy of the object if the condition evaluates to ''true'', and an undefined object if it evaluates to ''false''. | ||
; If[Condition, Object a, Object b]: Yields a copy of object ''a'' if the condition evaluates to ''true'', and a copy of object ''b'' if it evaluates to ''false''. | ; If[Condition, Object a, Object b]: Yields a copy of object ''a'' if the condition evaluates to ''true'', and a copy of object ''b'' if it evaluates to ''false''. |
Revision as of 06:13, 23 October 2009
- If[Condition, Object]
- Yields a copy of the object if the condition evaluates to true, and an undefined object if it evaluates to false.
- If[Condition, Object a, Object b]
- Yields a copy of object a if the condition evaluates to true, and a copy of object b if it evaluates to false.