- #1
jf22901
- 55
- 1
Hi all
I'm using Fortran code written by someone else, and a lot of the files have #ifndef statements in them. For example:
I've tried searching online, but can't find anything useful that actually explains what this bit of code does. Can anyone on here offer any help? I'm assuming it only defines the array if some condition is met, but what condition?
Many thanks.
I'm using Fortran code written by someone else, and a lot of the files have #ifndef statements in them. For example:
Code:
#ifndef global
REAL array(2500)
#endif
I've tried searching online, but can't find anything useful that actually explains what this bit of code does. Can anyone on here offer any help? I'm assuming it only defines the array if some condition is met, but what condition?
Many thanks.