Comments:SetValue Command
From GeoGebra Manual
SetValue in scripting
If you want to change value of an object in Scripting, always use SetValue rather than =. See this forum post for explanation.
If you want to change value of an object in Scripting, always use SetValue rather than =. See this forum post for explanation.