Any easy way to locate where variables are defined?

something like varlocate…? I though I saw something but in the “see also” of cvar nothing relevant is listed.

basically from a given component I want to do a cvar to get a list of vars, but then I want to find out where each var definition is located (too often I spend too much time trying and locating vars which I forget inside which component they are defined). Obviously I could go up the tree step by step and compare the new list with the old list to identify points where vars disappear, but there must be an easier way?

tx
d

derivative.ca/wiki/index.php … path%28%29

i’ll add it to the see also

thanks!
one more question.

cvar outputs only the component variables, not vars defined in components above.

is there a command to ask “show me ALL variables available in this component”?

Hey Dani, there isn’t yet an option for that but cvar should allow for that, it would be very useful.

I’ve moved a copy of this post to the RFE section for you.

Is the varpath() expression what you are looking for?

derivative.ca/wiki/index.php?title=Variables

varpath helps with the title of this thread, yes, thanks.

but then the next question was how can one know all the variables that are available at any given level (both defined in ‘.’ and above) and there seems to be nothing like that