SMath Studio Forum
»
SMath Studio
»
Questions
»
Assign Description to Variable
Rank: Advanced Member Groups: Registered
Joined: 23/03/2016(UTC) Posts: 277 Was thanked: 91 time(s) in 57 post(s)
|
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 Worksheet8.pdf (32kb) downloaded 15 time(s). Worksheet8.sm (5kb) downloaded 11 time(s). |
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 27/03/2019(UTC) Posts: 75 Location: coah Was thanked: 27 time(s) in 22 post(s)
|
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.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 10/12/2009(UTC) Posts: 248 Location: Cali, Colombia Was thanked: 87 time(s) in 66 post(s)
|
Originally Posted by: alyles 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 Worksheet8.pdf (32kb) downloaded 15 time(s). Worksheet8.sm (5kb) downloaded 11 time(s). A matrix approach: AssignValueAndDescription.sm (8kb) downloaded 5 time(s).
|
2 users thanked oscampo for this useful post.
|
on 26/10/2022(UTC), on 26/10/2022(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/03/2016(UTC) Posts: 277 Was thanked: 91 time(s) in 57 post(s)
|
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 (23kb) downloaded 1 time(s). |
|
1 user thanked alyles for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/03/2016(UTC) Posts: 277 Was thanked: 91 time(s) in 57 post(s)
|
|
|
2 users thanked alyles for this useful post.
|
on 26/10/2022(UTC), on 26/10/2022(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 10/12/2009(UTC) Posts: 248 Location: Cali, Colombia Was thanked: 87 time(s) in 66 post(s)
|
Originally Posted by: alyles Aha! I figured it out Great!! congrats
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
Assign Description to Variable
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.