Re: cobol array editing output

From: Chuck Stevens (charles.stevens_at_unisys.com)
Date: 12/10/03


Date: Wed, 10 Dec 2003 14:00:48 -0800


I mistyped. To Judson McClendon's .

> > However,the compiler must generate code to convert between
> > subscript and offset when a SET or compare is done between integer and
> > index data items.

I responded

> I think you mean integers and index-names in standard-speak. ...
> The results of comparing a number ... against an index-name
> are undefined.

That should have been

> I think you mean integers and index-names in standard-speak. ...
> The results of comparing a number ... against an index data item
> are undefined.

Index data items -- i.e., items declared USAGE IS INDEX -- are of limited
utility, IMHO.

    -Chuck Stevens



Relevant Pages

  • Re: writing a monitor
    ... Now I'm checking my work by comparing my disassembly carefully ... So it's only the instruction length what you need to add in addition. ... A negative offset does not mean a backward reference in all cases. ... so here we seem to be using 2's complements instead of 1's ...
    (comp.lang.asm.x86)
  • FS statistics via FSCTL_FILESYSTEM_GET_STATISTICS and fsutil diffe
    ... Comparing the values I get in the structures ... with the values I can get using fsutil on the command-line I see a difference ... A first comparison of UserFileReads, ... Can anyone explain that offset? ...
    (microsoft.public.win32.programmer.kernel)