- This topic has 5 replies, 2 voices, and was last updated 5 years, 2 months ago by
Yuri Kovelenov.
-
AuthorPosts
-
2020-03-02 at 11:25 am #24116
GLiFTeK
Customerhi
this may sound incredibly simple, and i may have gone over this before…
but how does one get JUST the actual “name” (not the value) of a variable for use in things using puzzles?there’s the “all variable names” .. can’t find a way to parse through that though..
thanks.
Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2020-03-02 at 12:39 pm #24118Yuri Kovelenov
Staff2020-03-02 at 10:28 pm #24131GLiFTeK
Customerhere you go:
hmm i guess “all variable names” isn’t the route i want to go.. i have hundreds of variables in my app. there’s no way to know which number the ones i want to call by name are.
i have 5 lists.. within a list that gets cycled though once.
i have them do different things.. but i want to also be able to call their names like you have in the above picture.. but without using their number place.i tried using their number place using a counter var that increments… but all i got was the sub list’s contents.. NOT the name..
set it up the same as the picture except the master list instead of “all variables”oddly “find first occurrence of” (which should work) ..actually results in a number not the name..
mannn.. this should be real simple huh?
just like ONE command…
maybe a javascript call is in order for this super super simple thing…getElementByName.. or something?… eval??
Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2020-03-03 at 7:35 am #24161Yuri Kovelenov
Staffdictionaries may be a solution
https://www.soft8soft.com/docs/manual/en/puzzles/Dictionaries.html2020-03-06 at 2:29 am #24376GLiFTeK
Customerwell yeah i tried this with dictionaries..
still would return the contents of the lists.. not the name of the lists.I simply want to get the name of a variable, (which in this case is s list) for use in other things.
I’m not trying to compare values. Just trying to use actual names that you see on the screen.
Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2020-03-06 at 7:29 am #24393Yuri Kovelenov
StaffIn JavaScript, how would you do it?
-
AuthorPosts
- You must be logged in to reply to this topic.