MathGroup Archive 2004

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

Search the Archive

Re: undocumented function StringQ

  • To: mathgroup at
  • Subject: [mg47804] Re: undocumented function StringQ
  • From: Harold.Noffke at (Harold Noffke)
  • Date: Tue, 27 Apr 2004 04:47:43 -0400 (EDT)
  • References: <c6d8dd$jh6$>
  • Sender: owner-wri-mathgroup at

$Version "5.0 for Microsoft Windows [2000] (November 18, 2003)"


Robert Villegas' original code ...

	Block[{$Urgent = {}},   


            (Information[#]; Not @ StringQ[

              MessageName @@ Append[ToHeldExpression[#], "usage"]




can be revised to remove Information[#] and $Urgent={}.  This produces
a Block which gives identical results ...

	Block[{}, Select[ Names["System`*"],
	    (!StringQ[MessageName @@ Append[ToHeldExpression[#],"usage"]])& ]

It is use of the $Urgent={} expression which puzzles me.  I don't see
what the programmer's intent is in doing this.  MathBook says ...

	$Urgent gives the list of files and pipes to which urgent output
	from Mathematica is sent.

In normal programming, what is the $Urgent={} expression supposed to
provide for us?  How is it supposed to be used?


  • Prev by Date: Re: Re: bug in IntegerPart ?
  • Next by Date: Re: bug in IntegerPart ?
  • Previous by thread: Re: RE: Re: undocumented function StringQ
  • Next by thread: RE: Re: undocumented function StringQ