Clearing Variables for Re-use in same document

Clearing Variables for Re-use in same document - Poruke

#1 Objavljeno: 19. 3. 2025. 05:07:38
DM

DM

0 svidjanja u 12 postova.

Grupa: 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 Objavljeno: 19. 3. 2025. 06:12:39
⚜ Kenny Lemens, P.E. ᵂᴵ

⚜ Kenny Lemens, P.E. ᵂᴵ

85 svidjanja u 181 postova.

Grupa: 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 Objavljeno: 19. 3. 2025. 21:25:59
DM

DM

0 svidjanja u 12 postova.

Grupa: 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 Objavljeno: 20. 3. 2025. 02:12:28
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: 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
1 korisnika je svidelo ovu objavu
sergio 20. 3. 2025. 16:38:00
  • Novi postovi
  • Nema novih postova