Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

ValueBox ?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg18141] ValueBox ?
  • From: hanson.nospam at physics.auburn.edu (James D Hanson)
  • Date: Fri, 18 Jun 1999 00:51:43 -0400
  • Organization: Auburn University Physics
  • Sender: owner-wri-mathgroup at wolfram.com

In a recent message, P.J. Hinton wrote

> To see if you are using such a version, paste the following
> expression into a notebook and click "Yes" when the front end asks
> you whether it should attempt to interpret it.

> Cell[TextData[ValueBox["$FullVersion"]], "Text"]

I am curious about just what is happening here.

When I do as I'm told, Mathematica shows

     Mathematica 3.0.1.1.x

in a cell.

When I type $FullVersion in a cell, Mathematica replies

In[1]:= $FullVersion

Out[1]= $FullVersion

Yet if I try  Cell[TextData[ValueBox["$Version"]], "Text"]
Mathematica shows

 Macintosh 3.0

but 

In[4]:= $Version

Out[4]= "Power Macintosh 3.0 (May 6, 1997)"

What does ValueBox do? Where does it get its information about $Version
and $FullVersion?

-- 
James D. Hanson                      ph. (334) 844-5044
Department of Physics                fax (334) 844-4613
206 Allison Laboratory
Auburn University, AL 36849-5311     hanson.nospam at physics.auburn.edu


  • Prev by Date: Re: Options for a function
  • Next by Date: Generating self-affiine fractals
  • Previous by thread: Re: Equality of integrals
  • Next by thread: Re: ValueBox ?