Silverfrost Forums

Welcome to our forums

Fortran Out

19 Sep 2008 6:29 #3834

When I issue the Fortran statement Open (UNIT=6,File='C:parout.txt'), output works correctly when executing the run module name under the SilverFrost command subset and calling the run file directly. However, the same statement under the Plato3 system produces no output to the file specified, what is the prognosis? Sid Kraft.

20 Sep 2008 10:35 #3835

Sid,

Many Fortran systems make specific assumptions about Unit numbers 5 and 6, and (where 0 is a valid unit number) 0 as well. I suggest trying some other unit number (say 99) - always easier if the unit number is a variable, and not hard-coded to a specific integer. If the problem goes away, it was a system peculiarity related to Unit 6.

Eddie

22 Sep 2008 11:00 #3836

Try putting:

File='C:\parout.txt'

Have a look at this post https://forums.silverfrost.com/Forum/Topic/919&highlight=plato

Regards

Ian

Please login to reply.