Which one is better SetValue(If) or if(setvalue) ?

veejayandra shared this question 3 months ago

Which one of the function is better to embeed inside other, SetValue or If ?

Comments (1)


Originally there was only SetValue(If), which is more in line with the language logic of ggb-scripts. In case of If() with values for NO and YES, the second version SetValue(if) is better. In the other cases If(SetValue()) is usual, because it is closer to procedural thinking.

© 2021 International GeoGebra Institute