[Info-vax] Architecture specific code in VMS Fortran
John Reagan
johnrreagan at earthlink.net
Mon Oct 3 13:51:13 EDT 2011
"Bob Koehler" <koehler at eisner.nospam.encompasserve.org> wrote in message
news:$+GH1422qp0o at eisner.encompasserve.org...
> In article <MI-dnVoiofumFRXTnZ2dnUVZ_jqdnZ2d at earthlink.com>, "John Reagan"
> <johnrreagan at earthlink.net> writes:
>>
>> and unlike C, the %IF/%ELIF/%ELSE/%ENDIF directives do not have to start
>> on
>> column 1. It is a token-based system, not a line based system.
>
> It's been a great many long years since the C preprocessor required
> # directives to start in column 1. For example, the following is
> valid:
>
My bad. Yes you are correct. I was trying to point out that the Pascal
form isn't line based but token based (looks close to the BLISS form of
%if). The benefits are more obvious in BLISS since you can put them into
macros which Pascal doesn't have.
x := %if compile-time-expression %then 1 %else 0 %endif ;
John
More information about the Info-vax
mailing list