[Info-vax] BASIC (was Re: 64-bit)

Arne Vajhøj arne at vajhoej.dk
Tue Jan 16 08:15:23 EST 2024


On 1/15/2024 9:25 PM, Lawrence D'Oliveiro wrote:
> On Mon, 15 Jan 2024 20:09:12 -0600, Craig A. Berry wrote:
>> I was traumatized in my youth by some whitespace in column 72 of a
>> Fortran program that prevented it from compiling ...
> 
> I wonder how that worked, given that Fortran was one language that would
> happily *ignore* whitespace in the middle of identifiers and syntax words.

It is still possible.

Even with a nice Fortran compiler like VMS Fortran.

Anyone that can create an example where a space in
position 72 will cause VMS Fortran to give an error?

(my example where adding a space in column 72 in line 4 will
cause a compile error %F90-E-ERROR is way below - to allow peple
to think about it)

Arne






















































       program p72
       character*8 somestr(6)
       integer*4 i
       data somestr/8hAAAAAAAA,8hBBBBBBBB,8hCCCCCCCC,8hDDDDDDDD,8hEEEEEE
      +EE,8hFFFFFFFF/
       do 100 i = 1, 6
         write(*,*) somestr(i)
100   continue
       end




More information about the Info-vax mailing list