Difference between revisions of "If Command"

From GeoGebra Manual
Jump to: navigation, search
(create official page from pdf)
 
m (improve category sort, applied Italic font to objects)
Line 1: Line 1:
<noinclude>{{Manual Page}}[[Category:Manual (official)]]</noinclude>
+
<noinclude>{{Manual Page}}[[Category:Manual (official)|If Command]]</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:00, 19 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.
© 2024 International GeoGebra Institute