[Simh] Fwd: HP2100 Fortran problem

J. David Bryan jdbryan at acm.org
Thu May 17 19:53:00 EDT 2007


On 17 May 2007 at 19:22, Saporito Fausto wrote:

>       WRITE(1,99) 
> C 
>    99 FORMAT(5H CIAO) 
>       STOP 
>       END 
> END$ 
> 
> but i have the same error. I used WRITE(2,99) too.

Unit 2 seems to be the correct reference for BCS.

Does it work if you try to output an integer, e.g.:

    I = 1
    WRITE (2,99) I
99  FORMAT (I6)

...or do you get the same error 3?

How about this:

    WRITE (2,99)
99  FORMAT ("CIAO")

                                      -- Dave




More information about the Simh mailing list