Microsoft open sources GWBASIC
Tor Arntsen
kspt.tor at gmail.com
Tue Jun 2 01:40:10 CDT 2020
On Mon, 1 Jun 2020 at 00:14, Eric Korpela via cctalk
<cctalk at classiccmp.org> wrote:
> C
> C CHANGE THE VALUE OF 4
> C
>
> CALL INC(4)
> WRITE (*, 30) 4
> 30 FORMAT ('2+2=',I4)
> END
>
> SUBROUTINE INC(I)
> I = I + 1
> END
>
> -------- OUTPUT
> 2+2= 5
I had no idea, and I wrote a lot of FORTRAN for a few years. I just
tested the above with the Fortran-77 compiler for my ND-100 mini, and
yes, it prints 2+2= 5
More information about the cctalk
mailing list