Largest difference between adjacent primes: Difference between revisions

Content added Content deleted
(Added XPL0 example.)
Line 7: Line 7:


=={{header|ALGOL 68}}==
=={{header|ALGOL 68}}==
Note, to run this with Algol 68G, the command line option <code>--heap 256M</code> whould be specified on the command line to allow a larger heap size.<br>
Note, to run this with Algol 68G, the command line option <code>--heap 256M</code> should be specified to allow a larger heap size.<br>
As with the Wren, Phix, etc. samples, shows the gaps for at a few other places.
As with the Wren, Phix, etc. samples, shows the gaps at a few other places.
{{libheader|ALGOL 68-primes}}
{{libheader|ALGOL 68-primes}}
<lang algol68>BEGIN # find the largest gap between adjacent primes up to 10 000 000 #
<lang algol68>BEGIN # find the largest gap between adjacent primes up to 10 000 000 #