Re: Evaluating Global Variables Named Strings as
- To: mathgroup at smc.vnet.net
- Subject: [mg105533] Re: Evaluating Global Variables Named Strings as
- From: Syd Geraghty <sydgeraghty at me.com>
- Date: Mon, 7 Dec 2009 01:59:53 -0500 (EST)
- References: <hfalai$73l$1@smc.vnet.net> <200912051032.FAA08572@smc.vnet.net>
Hi Ben,
If you want to get subsets of the list of System Functions printed the following might help.
Using Shallow[] gives a shortened list of the detailed Mathematica system functions loaded at the time of the function evaluation
Shallow[Column[Flatten[a={#,ToExpression[#]}&/@Names["System`$*"]],Spacings->1.5]]
To get the first few System Functions evaluated and printed Take[] for example the first 6 with the expression " startofSystemlist " defined below:
startofSystemlist:=Take[Flatten[a={#,ToExpression[#]}&/@Names["System`$*"]],12]
Column[startofSystemlist,Spacings->1.5]
To get the last few System Functions evaluated and printed Take[] for example the last 6 with the expression " endofSystemlist " defined below:
endofSystemlist:=Take[Flatten[a={#,ToExpression[#]}&/@Names["System`$*"]],-12]
Column[endofSystemlist,Spacings->1.5]
Cheers .... Syd
Syd Geraghty B.Sc, M.Sc.
sydgeraghty at mac.com
Mathematica 7.0.1.0 for Mac OS X x86 (64 - bit) (12th September 2009)
MacOS X V 10.6.1 Snow Leopard
MacBook Pro 2.33 GHz Intel Core 2 Duo 2GB RAM
On Dec 5, 2009, at 2:32 AM, BenT wrote:
> Column[Flatten[
> a = {#, ToExpression[#]} & /@
> Names["System`$*"]],
> Spacings -> 1.5]
- References:
- Re: Evaluating Global Variables Named Strings as Variables
- From: BenT <brtubb@pdmusic.org>
- Re: Evaluating Global Variables Named Strings as Variables