1 Pages (6 items)
Assign Description to Variable - Messages
#1 Posted: 10/24/2022 1:30:58 PM
Is there a way to assign a description to a variable dynamically?
I am defining variable names dynamically. I would like to also assign a description with each variable name.
Is this possible?
Thanks
File not found.File not found.
I am defining variable names dynamically. I would like to also assign a description with each variable name.
Is this possible?
Thanks
File not found.File not found.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#2 Posted: 10/24/2022 2:50:41 PM
I think not, there is the inverse function to what you are looking for...
description("VAR" ) that returns the description of the VAR variable
but it can't be done
description("VAR" ) := "new description"
it's a nice feature to ask for to be implemented in this bidirectional way.
description("VAR" ) that returns the description of the VAR variable
but it can't be done
description("VAR" ) := "new description"
it's a nice feature to ask for to be implemented in this bidirectional way.
#3 Posted: 10/25/2022 6:44:38 AM
WroteIs there a way to assign a description to a variable dynamically?
I am defining variable names dynamically. I would like to also assign a description with each variable name.
Is this possible?
Thanks
File not found.File not found.
A matrix approach:
AssignValueAndDescription.sm (7 KiB) downloaded 34 time(s).
2 users liked this post
#4 Posted: 10/26/2022 9:26:46 AM
I had another idea using line function. But i'm not sure how to do it programatically... Any Ideas? Is it even possible?

Worksheet8_alternateIdea.sm (22 KiB) downloaded 23 time(s).
Worksheet8_alternateIdea.sm (22 KiB) downloaded 23 time(s).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
1 users liked this post
⚜ Kenny Lemens, P.E. ᵂᴵ 10/26/2022 10:57:00 AM
#6 Posted: 10/26/2022 10:31:42 AM
WroteAha! I figured it out
Great!! congrats
1 Pages (6 items)
-
New Posts
-
No New Posts