Re: IF statement, I don't understand this



On Thu, 30 Mar 2006 16:47:45 +0000 (UTC), docdwarf@xxxxxxxxx () wrote:

OR ASM010-I-DIR = "R"
OR ASM010-I-DIR = "S"

With a compiler that accepts in-line comments, this method has another
advantage - we can say what "R" means!

In the Oldene Dayse I saw code that used to do similar things with
88-level conditions, viz.:

Agreed. But sometimes we want to comment what it means for this
particular IF statement... why we are processing it this way. The
copybook 88 name describes what the code means generally.

IF MINI-COOPER *> Fits in lots 2 or 3
OR RABBIT *> Fits in lot 3
OR MIDGET *> Fits in lots 2 or 3
PERFORM OK-FOR-LOT
.



Relevant Pages

  • FITS Library Package upgrade
    ... I have updated my FITS Library ... Some new examples are included in the demo program "testfiles" for which executables are available for Linux on Intel, and Mac OS X on PPC. ... The routines will compile on Linux with the Portland Group F77 compiler, and on the Mac with the Absoft FORTRAN compiler. ...
    (comp.lang.fortran)
  • FITS Library Package upgrade
    ... I have updated my FITS Library ... Some new examples are included in the demo program "testfiles" for which executables are available for Linux on Intel, and Mac OS X on PPC. ... The routines will compile on Linux with the Portland Group F77 compiler, and on the Mac with the Absoft FORTRAN compiler. ...
    (sci.astro.fits)
  • Re: Soft Processor IP core report
    ... fits in 64 kbyte ROM. ... That also depends on the compiler. ... architecture so the compiler must work very hard to get compact code. ... Failure does not prove something is impossible, ...
    (comp.arch.fpga)
  • Re: [PATCH 1/1] Defer skb allocation for both mergeable buffers and big packets in virtio_net
    ... and it fits into one cacheline nicely. ... the other hand we have more code making life harder for compiler and ...
    (Linux-Kernel)
  • Re: size_t problems
    ... XXL, one size fits all. ... lcc-win32 is a ... Windows compiler. ... and a compiler that's incompatible with the underlying ...
    (comp.lang.c)