Re: Fortran Preprocessor?
Timothy Patrick Gallagher wrote:
I'm relatively new to Fortran but I've used C/C++ quite a bit...
The thing I miss the most is the ability to use #define to set
constants (I don't like using static/parameter memory variables).
I don't know whether you refer to C or to Fortran there. The analogy
between Fortran and C is not very close; I don't know of anyone who
prefers pre-processor macros to Fortran PARAMETER constants, even among
those who use tradcpp heavily.
.
Relevant Pages
- Fortran Version Question Apr. 8, 2009
... FORTRAN VERSION QUESTION ... Information is being sought regarding versatile, free download Fortran compilers ... One of the steps in the effort involves getting procedures established that would enable them to use different language computer programs to work on the same project. ... --- The ability to accept input using a standard type input command involving pressing the Enter key after typing in the data, and the ability to check for keyboard key presses with something like a GetKey command. ... (comp.lang.fortran) - RE: Get Key Function?
... Key" function for Fortran - the ability to have a program read input ... from a keyboard without having to push enter - and I've found a few ... the keycode if there was a strobe. ... But other fortrans don't have this ability. ... (comp.lang.fortran) - Re: Basic question on local variable
... Yes, as far as I know Fortran never adopted that ability, and even if it did guarantee to pass a temporary, as far as I know you are still not allowed to modify it. ... Fortran compilers are allowed to optimize out the parenthesis in y = addten), ... (comp.lang.fortran) - Re: Encapsulation
... of assemblies without the ability to have a "nested ... Fortran 77 codebases that have no encapsulation or high-level structure at ... (microsoft.public.dotnet.languages.csharp) |
|