Hi Paul,
I downloaded it just for the heck of it. When I compiled your program,
I got an error, something to the effect it got - and was expecting =.
I edited the file to "for x = 1 to 99" and it compiled and ran OK.
Bob W.
That is what I had. I just copied it wrong to the email.
Where and how did you run it? In a terminal window?
I am sure glad it works. I have tons of QB source.
Paul Lamar ...No rotor no motor.
I downloaded from
http://www.freebasic.net/index.php/download, unziped
it, cd'ed to the FreeBASIC directory and executed "sudo install.sh".
The zip download was stored in downloads/freebasic/
Then from a console window, starting from my home directory, I executed
fbc downloads/freebasic/FreeBASIC/examples/hello.bas
That created hello in downloads/freebasic/FreeBASIC/examples/ which
seemed to execute OK. Then I copied your program to test.bas in my home
directory and executed fbc test.bas. I got an executable named test in
the home directory. When executed, the numbers from 1 to 99 were
printed to the console window.
I got version 0.16b BTW.
Bob W.