Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Function Name Info Demonstration Attempt

  • To: mathgroup at smc.vnet.net
  • Subject: [mg106303] Re: Function Name Info Demonstration Attempt
  • From: dh <dh at metrohm.com>
  • Date: Fri, 8 Jan 2010 04:12:52 -0500 (EST)
  • References: <hi42ef$n4g$1@smc.vnet.net>


Hi Ben,

Information (??) prints its output as a side effect and returns nothing 

(Null). Therefore, you can not manipulate its output in a Manipulate 

statement.

I tried to capture the info redirecting the output channels: $Output, 

but Information seems to be printing without using the output channels.

Daniel



BenT wrote:

> Consider the following [Version 7] code which works except that the

> output is not _completely_ contained within the Manipulate "box". Can

> anyone suggest how to correct this?

> 

> Manipulate[ToExpression["??" <> f],

>  {{f, "Pi", "function info"}, b},

>  Initialization :> {

>    a = Append[CharacterRange["A", "Z"], "$"];

>    b = Flatten[Names["System`" <> # <> "*"] & /@ a, Infinity];

>    }

>  ]

> 

> --- Benjamin Tubb

> 




  • Prev by Date: Re: Re: Re: Re: algebraic numbers
  • Next by Date: horizontal line color
  • Previous by thread: Function Name Info Demonstration Attempt
  • Next by thread: Re: Function Name Info Demonstration Attempt