Literals/Integer: Difference between revisions

Content deleted Content added
Line 25:
</pre>
=={{header|ALGOL 68}}==
{{trans|fortranFortran}}
 
{{works with|ALGOL 68|Standard - no extensions to language used}}
{{works with|ALGOL 68G|Any - tested with release mk15-0.8b.fc9.i386}}
{{works with|ELLA ALGOL 68|Any (with appropriate job cards) - tested with release 1.8.8d.fc9.i386}}
Binary constants are of type BITS, and need to be converted
to INT using the operator ABS.
<pre>
main:(
Line 41 ⟶ 44:
)
</pre>
Output:
<pre>
+727 +727 +727 +727