Difference between revisions of "Commands"
From GeoGebra Manual
m (fixed link) |
(manual category) |
||
Line 1: | Line 1: | ||
+ | <noinclude>{{Manual Page}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | ||
Using commands you can produce new and modify existing objects. | Using commands you can produce new and modify existing objects. | ||
− | |||
{{note|A command's result may be named by entering a label followed by an equal sign <nowiki>(=)</nowiki>. In the example below, the new point is named S.}} | {{note|A command's result may be named by entering a label followed by an equal sign <nowiki>(=)</nowiki>. In the example below, the new point is named S.}} | ||
− | |||
{{example|To get the intersection point of two lines g and h you can enter <code><nowiki>S = Intersect[g, h]</nowiki></code> (see [[Intersect Command]]).}} | {{example|To get the intersection point of two lines g and h you can enter <code><nowiki>S = Intersect[g, h]</nowiki></code> (see [[Intersect Command]]).}} | ||
{{note|You can also use indices within the names of objects: A<sub>1</sub> is entered as <code>A_1</code> while S<sub>AB</sub> is created using <code>s_{AB}</code>. This is part of [[latex syntax]].}} | {{note|You can also use indices within the names of objects: A<sub>1</sub> is entered as <code>A_1</code> while S<sub>AB</sub> is created using <code>s_{AB}</code>. This is part of [[latex syntax]].}} |
Revision as of 12:35, 12 November 2010
Using commands you can produce new and modify existing objects.
Note: A command's result may be named by entering a label followed by an equal sign (=). In the example below, the new point is named S.
Example: To get the intersection point of two lines g and h you can enter
S = Intersect[g, h]
(see Intersect Command). Note: You can also use indices within the names of objects: A1 is entered as
A_1
while SAB is created using s_{AB}
. This is part of latex syntax.