Re: Variable Listing?
- To: mathgroup at christensen.cybernetics.net
- Subject: [mg1023] Re: Variable Listing?
- From: glgesm at engr.psu.edu (Gary L. Gray)
- Date: Fri, 12 May 1995 02:45:17 -0400
- Organization: Penn State University--Engineering Science & Mechanics
[this post may be duplicated for some - moderator]
In article <3o9n01$b92 at news0.cybernetics.net>, deslover at ssec.wisc.edu
(Daniel DeSlover) wrote:
> Is there a way in Mma to view all variables that have been
> defined during a current session? For example, in Matlab
> I can use the "whos" command to get this display:
>
>
> >> whos
> Name Size Elements Bytes Density Complex
>
> bvolt 953 by 1 953 7624 Full No
> calib 431 by 5 2155 17240 Full No
> datedata 1 by 3 3 24 Full No
> day 1 by 1 1 8 Full No
> mass 953 by 1 953 7624 Full No
> massc 431 by 1 431 3448 Full No
> month 1 by 1 1 8 Full No
> newday 1 by 1 1 8 Full No
> nvolt 953 by 1 953 7624 Full No
> nvoltc 431 by 1 431 3448 Full No
> nvoltfit 1 by 953 953 7624 Full No
> opt_depth 953 by 1 953 15248 Full Yes
> sundata 953 by 5 4765 38120 Full No
>
> Such a command in Mma would be nice if it doesn't exist.
>
> dan
> deslover at vil.ssec.wisc.edu
I think you can just say:
?Global`*
and you will get all variables defined in the current session.
Best regards,
--
Gary L. Gray | (814) 863-1778
Assistant Professor | (814) 863-7967 (fax)
Engineering Science & Mechanics | glgesm at engr.psu.edu
Penn State University | AOL: GLGray