Literals/Integer: Difference between revisions

No edit summary
Line 212:
727 727 727 727
</pre>
 
=={{header|Metafont}}==
 
<lang metafont>num1 := oct"100";
num2 := hex"100";</lang>
 
Metafont numbers can't be greater than 4096, so that the maximum octal and hexadecimal legal values are <tt>7777</tt> and <tt>FFF</tt> respectively. To be honest, <tt>"100"</tt> is a string, and <tt>oct</tt> is an "internal" "''macro''"; but this is the way Metafont specifies numbers in base 8 and 16.
 
=={{header|Modula-3}}==