Preventing evaluation: quote hold ’

### 6.12.4 Preventing evaluation: quote hold ’

You can prevent an expression from being evaluated by quoting it, either by preceding it with ’ or with the quote or hold) command.

Remark.
If a is a variable, then a:=quote(a) (or a:=hold(a)) is equivalent to purge(a) (for the sake of Maple compatibility). It returns the value of this variable (or the hypothesis done on this variable).

Example.
Input:

a:=2;quote(2+3*a)

or:

a:=2;’2+3*a’

Output:

2,2+3 a