MathGroup Archive 2007

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

Search the Archive

Re: :: notation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg77737] Re: [mg77665] :: notation
  • From: Carl Woll <carlw at wolfram.com>
  • Date: Fri, 15 Jun 2007 04:59:10 -0400 (EDT)
  • References: <200706141015.GAA10332@smc.vnet.net>

Andrew Moylan wrote:

>What are the properties of the :: notation? As in the following:
> 
>function::usage = "bla";
> 
>Where can I read about this notation in the documentation?
>
>
>  
>
If you want to find the FullName of a particular notation, one method is 
to wrap an example of the notation in Hold and look at its FullForm:

In[227]:= Hold[a::b] // FullForm
Out[227]//FullForm= Hold[MessageName[a,"b"]]

We discover that the FullForm version of :: is MessageName, which you 
can then look up in the help.

Carl Woll
Wolfram Research


  • References:
    • :: notation
      • From: "Andrew Moylan" <andrew.j.moylan@gmail.com>
  • Prev by Date: Re: ReplaceRepeated info
  • Next by Date: Unusual Cell syntax
  • Previous by thread: :: notation
  • Next by thread: Re: :: notation