- Subject: [slang-users] Get name of variable (identifier)?
- From: Morten Bo Johansen <mbj@xxxxxxxxxxx>
- Date: Wed, 20 Jan 2021 17:59:35 +0100
Hi
Is it possible to get the name of an identifier as a string?
Even if these occur on either side of the equal sign:
variable val_arr = [v.protein,v.energy_kj,v.vitamin_a ...]
The "v.protein", etc. represent number values from a structure,
but you could also call them variable names and I would like to
get e.g. "val_arr" and "v.protein" as a literal strings.
Is this possible?
Thanks,
Morten
_______________________________________________
For list information, visit <http://jedsoft.org/slang/mailinglists.html>.
[2021 date index]
[2021 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]