[Lazarus] RE : reading FORTRAN-style input in Lazarus

Ludo Brands ludo.brands at free.fr
Fri Aug 5 16:43:18 CEST 2011


> 
> sscanf's like constructs are also a possibility. ARRAY OF 
> CONST is strong enough to implement it.
>  

The Fortran output is fixed format. In
FORMAT(I3,I7,2X,A25,1X,F6.2,1X,F7.2,3(1X,I4),1X,F4.1,1X,I1) the first 2
integers can be linked together. 123 followed by 1234567 result in
1231234567. sscanf can't deal with this AFAIK.

Ludo






More information about the Lazarus mailing list