1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
<html>
<head><title>ACL2-PC_colon__colon_UNDO.html -- ACL2 Version 3.1</title></head>
<body text=#000000 bgcolor="#FFFFFF">
<h3>ACL2-PC::UNDO</h3>(meta)
<code> </code>undo some instructions
<pre>Major Section: <a href="PROOF-CHECKER-COMMANDS.html">PROOF-CHECKER-COMMANDS</a>
</pre><p>
<pre>
Examples:
(undo 7)
undo
<p>
General Forms:<p>
(undo n) -- Undo the last n instructions. The argument n should be
a positive integer.<p>
undo -- Same as (undo 1).
</pre>
<strong>Note:</strong> To remove the effect of an <code>undo</code> command, use <code>restore</code>. See
the documentation for details.<p>
<strong>Note:</strong> If the argument <code>n</code> is greater than the total number of
interactive instructions in the current session, then <code>(undo n)</code> will
simply take you back to the start of the session.<p>
The <code>undo</code> meta command always ``succeeds''; it returns
<code>(mv nil t state)</code> unless its optional argument is supplied and of
the wrong type (i.e. not a positive integer) or there are no
instructions to undo.
<br><br><br><a href="acl2-doc.html"><img src="llogo.gif"></a> <a href="acl2-doc-index.html"><img src="index.gif"></a>
</body>
</html>
|