Difference between revisions of "Rename Command"
From GeoGebra Manual
m |
|||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}</noinclude> |
{{command|scripting}} | {{command|scripting}} | ||
;Rename[ <Object>, <Name> ] | ;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 13:16, 30 July 2015
- 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.