[comp.os.msdos.programmer] MS-FORTRAN bug in string concatenation

HUESTIS@MPLVAX.SRI.COM (David L. Huestis) (02/14/91)

Under Microsoft FORTRAN the following simple program

       character string*4/'abc'/
       string = '*'//string
       write(*,*)string
       end

produces the output '**bb' while LAHEY and VAX yield '*abc'

Microsoft FORTRAN takes no precautions against the source strings
overlapping the destination string.