Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - The type of integer variable in fortran is 4 by default, can it be changed?
The type of integer variable in fortran is 4 by default, can it be changed?
Fortran syntax does not specify a default category value. This is up to the compiler.

Different brands and versions of compilers have different default category values. There are also different ways to modify the default category value.

The Visual fortran series under windows is generally determined by compiling the switch: /integer_size.

/integer_size:64 means default category =8.

/integer_size: 16 means default category =2.