whos
- whos returns current session's objects
- whos('names') returns names of current session's objects
- whos('names', 'caller') returns the variable names of the workspace of the calling function
Examples
> clear > a1 = 1; a2 = 2; > var = whos# [a1:1] [a2:2]
> clear > a = 1 > var = whos('names')# a