14

I have found an example for clearing all symbol definition by:

ClearAll["Global`*"]

But what does the symbol ` mean? It isn't the apostrophe ', yet it is not documented in Mathematica help.

Jim

J. M.'s missing motivation
  • 124,525
  • 11
  • 401
  • 574
JimmyLin
  • 573
  • 2
  • 11

1 Answers1

17

In Mathematica, the back-tick or grave accent ( ` ) is used for two purposes:

  1. As a context mark to delimit contexts (name spaces) in the full name of a variable.

  2. As a number mark to mark the end of an approximate number, and separate the number from its precision value.

Mr.Wizard
  • 271,378
  • 34
  • 587
  • 1,371
m_goldberg
  • 107,779
  • 16
  • 103
  • 257
  • and what does that * symbol mean? I see in the documentation that it is used just in the Generalization & Extensions part. But I couldn't find the documentation about it? – Sepideh Abadpour Sep 20 '15 at 21:10
  • 1
    I'm guessing your are asking about the * in ClearAll["Global`*"]. That * means zero-or-more-characters. It is documented here under Abbreviated String Patterns. BTW, posting your question as a comment to my answer is most inappropriate. It has nothing to do with my answer and nothing to do with the original question. In the future, please keep your posts on-topic. – m_goldberg Sep 21 '15 at 04:15
  • ok, I thought it will be a duplicate if I post a new one! – Sepideh Abadpour Sep 21 '15 at 04:41
  • @m_goldberg though to be fair, the question was about what means in the commandClearAll["Global`*"], and your answer mentioned the meanings of in general but did not discuss its use in this context. – WillG Nov 14 '19 at 18:56