Clearing Variables for Re-use in same document

Clearing Variables for Re-use in same document - Mensajes

#1 Publicado: 19/3/2025 5:07:38
DM

DM

0 me gusta en 12 mensajes.

Grupo: User

I'm using SMATH to bring in template calcualtions and substitute for hand calculations, but one thing I couldn't figure out is if it is possible to "clear" a variable so I can use the equation multiple times without carrying variables forward. I tried using the separator, but it doesn't clear variables.
#2 Publicado: 19/3/2025 6:12:39
⚜ Kenny Lemens, P.E. ᵂᴵ

⚜ Kenny Lemens, P.E. ᵂᴵ

85 me gusta en 181 mensajes.

Grupo: User

Greetings,

In the 「Special Functions」 Plugin, you can get access to the function "Clear()". Here are (2) forum posts on topic to your question:



May this be of Good Help;
⚜ Kenny Lemens, P.E. ᵂᴵ
"No matter where you go, there you are." -Buckaroo BanzaiHotkeys: https://en.smath.com/forum/resource.ashx?a=45771&b=2
#3 Publicado: 19/3/2025 21:25:59
DM

DM

0 me gusta en 12 mensajes.

Grupo: User

Wrote

Greetings,

In the 「Special Functions」 Plugin, you can get access to the function "Clear()". Here are (2) forum posts on topic to your question:



May this be of Good Help;
⚜ Kenny Lemens, P.E. ᵂᴵ



Many thanks. For my reference, and so people don't have to follow the links above, is just type Clear(variable1,variable2,etc)=1

Edit: Is there a way to clear all variables without specifying in the ()?
#4 Publicado: 20/3/2025 2:12:28
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: Moderator

Wrote


Edit: Is there a way to clear all variables without specifying in the ()?



Custom Functions plugin has a set of ClearAll() functions.(See here)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
A 1 usuarios les gustó este mensaje
sergio 20/3/2025 16:38:00
  • Nuevos mensajes
  • Sin mensajes nuevos