Topic: Default i/o streams in 'Simply Fortran'
Hi,
I've been trying out Simply Fortran on the 30 day trial - and have been impressed with it. There's just one little question I'd like to clarify. When I ran the simple tutorial example the message in the PRINT statement appeared in the console window as expected.
I then tried runs of my own code which has both PRINT and WRITE statements - when this code was run with another compiler the output from the PRINT statements still appeared on the console, but that from the WRITE statements appeared in an output file that is specified in an OPEN statement. With the Simply Fortran complier all the output (from both PRINT and WRITE) goes to the output file.
The OPEN statement is OPEN(UNIT=6,....) so I'm guessing that 6 is the default output for PRINT in Simply Fortran (which to be fair is the historic default value from way back... - but I think it was 2 for the other complier). I presume that if I change the OPEN to something like OPEN(UNIT=12,...) I'll get back to getting PRINT output at the console and WRITE output in the file? I would have tested it myself but my evaluation period is up! I just wanted to be sure before parting with money....
Thanks,
John
PS If I get the individual user licence for Mac will I will be able to run the product on two different Macs in different locations - not at the same time of course.