Re: [fpc-devel] goto illegal in fpc?

2015-10-09 Thread Schneider
Sven: > > https://alum.mit.edu/www/toms/ftp/shell.p > > I've now looked at your example code a bit more. Using 3.0.0 (or in my > case 3.1.1) it compiles if you pass -Miso as parameter. Getting it to > run confuses me a bit however considering that I've never worked with > ISO style input/output

Re: [fpc-devel] goto illegal in fpc?

2015-10-09 Thread Schneider
Sven: > -Sg only enables intrafunction gotos if they should be disabled (don't > remember which mode disables them...) Ok, so that's out. > > Is there a (non standard!) exit function in fpc that I could use > > during compilation? (Then I could substitute it for the goto call > > before

Re: [fpc-devel] goto illegal in fpc?

2015-10-09 Thread Mark Morgan Lloyd
Schneider wrote: Folks: https://alum.mit.edu/www/toms/ftp/shell.p Shows up as a bad link here. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-devel

Re: [fpc-devel] goto illegal in fpc?

2015-10-09 Thread Sven Barth
Am 09.10.2015 12:34 schrieb "Schneider" : > > Folks: > > https://alum.mit.edu/www/toms/ftp/shell.p I've now looked at your example code a bit more. Using 3.0.0 (or in my case 3.1.1) it compiles if you pass -Miso as parameter. Getting it to run confuses me a bit however

Re: [fpc-devel] goto illegal in fpc?

2015-10-09 Thread Jonas Maebe
Sven Barth wrote on Fri, 09 Oct 2015: Am 09.10.2015 12:34 schrieb "Schneider" : Folks: https://alum.mit.edu/www/toms/ftp/shell.p I've now looked at your example code a bit more. Using 3.0.0 (or in my case 3.1.1) it compiles if you pass -Miso as parameter. Getting it

Re: [fpc-devel] goto illegal in fpc?

2015-10-09 Thread Sven Barth
Am 09.10.2015 12:34 schrieb "Schneider" : > > Folks: > > https://alum.mit.edu/www/toms/ftp/shell.p > > This is a test program I use to check Pascal compilers. I could not > figure out from the FPC site how "standard" it is. When I try to > compile shell.p, I get: > > % fpc

[fpc-devel] goto illegal in fpc?

2015-10-09 Thread Schneider
Folks: https://alum.mit.edu/www/toms/ftp/shell.p This is a test program I use to check Pascal compilers. I could not figure out from the FPC site how "standard" it is. When I try to compile shell.p, I get: % fpc shell.p Free Pascal Compiler version 2.6.4 [2015/10/07] for x86_64 Copyright (c)