On Fri, 2010-04-16 at 11:43 -0400, Walt Farrell wrote:
> Why would you want to do math on a pointer?

One example: in a COBOL program I wrote awhile ago, I process SMF
type-30 records.  Those records contain segments whose offsets are
stored in fullwords - I address those segments by doing pointer
arithmetic on the address of the SMF30 record.

-- 
David Andrews
A. Duda and Sons, Inc.
david.andr...@duda.com

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to