Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Previous section-----Next section

1.3.9 Getting Help with a Text-Based Interface

?Name show information on Name
??Name show extra information on Name
?Aaaa* show information on all objects whose names begin with Aaaa

Ways to get information directly from the Mathematica kernel.
This gives information on the built-in function Log.

In[1]:=  ?Log


You can ask for information about any object, whether it is built into Mathematica, has been read in from a Mathematica package, or has been introduced by you.

When you use ? to get information, you must make sure that the question mark appears as the first character in your input line. You need to do this so that Mathematica can tell when you are requesting information rather than giving ordinary input for evaluation.

You can get extra information by using ??. Attributes will be discussed in Section 2.6.3.

In[2]:=  ??Log



This gives information on all Mathematica objects whose names begin with Lo. When there is more than one object, Mathematica just lists their names.

In[3]:=  ?Lo*


?Aaaa will give you information on the particular object whose name you specify. Using the "metacharacter" *, however, you can get information on collections of objects with similar names. The rule is that * is a "wild card" that can stand for any sequence of ordinary characters. So, for example, ?Lo* gets information on all objects whose names consist of the letters Lo, followed by any sequence of characters.

You can put * anywhere in the string you ask ? about. For example, ?*Expand would give you all objects whose names end with Expand. Similarly, ?x*0 would give you objects whose names start with x, end with 0, and have any sequence of characters in between. (You may notice that the way you use * to specify names in Mathematica is similar to the way you use * in Unix and other operating systems to specify file names.)

You can ask for information on most of the special input forms that Mathematica uses. This asks for information about the := operator.

In[4]:=  ?:=



Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: