Literals/Integer: Difference between revisions
→{{header|Quackery}}
Line 1,653:
<lang Quackery>[ 2 base put ] now!
( The Quackery compiler now expects numeric literals to be in binary.
[ base release ] now!
( The Quackery compiler now expects numeric literals to be in whichever
base they were previously. The default base is decimal. )</lang>
If a new compiler directive akin to <code>hex</code> is required, say to allow occasional octal literals in the form <code>octal 45</code>, the compiler can be extended like this;
|