1 Pages (4 items)
Clearing Variables for Re-use in same document - Messages
#1 Posted: 3/19/2025 5:07:38 AM
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 Posted: 3/19/2025 6:12:39 AM
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. ᵂᴵ
In the 「Special Functions」 Plugin, you can get access to the function "Clear()". Here are (2) forum posts on topic to your question:
- https://en.smath.com/forum/yaf_postst1576_clear---function.aspx
- https://en.smath.info/forum/yaf_postsm8183_Reset-Remove-Variable.aspx
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 Posted: 3/19/2025 9:25:59 PM
WroteGreetings,
In the 「Special Functions」 Plugin, you can get access to the function "Clear()". Here are (2) forum posts on topic to your question:
- https://en.smath.com/forum/yaf_postst1576_clear---function.aspx
- https://en.smath.info/forum/yaf_postsm8183_Reset-Remove-Variable.aspx
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 Posted: 3/20/2025 2:12:28 AM
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 users liked this post
sergio 3/20/2025 4:38:00 PM
1 Pages (4 items)
-
New Posts
-
No New Posts