Microsoft KB Archive/32672

From BetaArchive Wiki

BASIC-80 Files That Can Be Read in FORTRAN-80

PSS ID Number: Q32672 Article last modified on 07-18-1988

3.36 3.37 3.42 3.43 3.44 CP/M-80

Summary: To create a data file in CP/M BASIC that can be read by FORTRAN-80, do the following: 1. Create a random file in BASIC. 2. FORTRAN expects a record length of 128 bytes; set up the BASIC file accordingly (e.g. 64 integers or 32 reals). 3. Read the file randomly (not sequentially) from FORTRAN. Note that the internal representation of numbers is the same in both BASIC and FORTRAN.