Difference between revisions of "Rename Command"
From GeoGebra Manual
m |
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} | ||
− | ;Rename | + | ;Rename( <Object>, <Name> ) |
:Sets the [[Labels and Captions|label]] of given object to the given name. | :Sets the [[Labels and Captions|label]] of given object to the given name. | ||
:{{example|1=<div>Let <code><nowiki>c: x^2 + 2y^2 = 2</nowiki></code>.</div> <div> <code><nowiki>Rename[c, ell]</nowiki></code> sets the label to ''ell''.</div>}} | :{{example|1=<div>Let <code><nowiki>c: x^2 + 2y^2 = 2</nowiki></code>.</div> <div> <code><nowiki>Rename[c, ell]</nowiki></code> sets the label to ''ell''.</div>}} |
Revision as of 17:17, 7 October 2017
- Rename( <Object>, <Name> )
- Sets the label of given object to the given name.
- Example:Let
c: x^2 + 2y^2 = 2
.Rename[c, ell]
sets the label to ell.