Re: Displaying the contents of pointers in cobol...
From: XPPROGRAMMER (saud_abraham_at_hotmail.com)
Date: 01/25/05
- Next message: Richard: "Re: Displaying the contents of pointers in cobol..."
- Previous message: Tim Cordsen: "OT but necessary - job needed best in Germany"
- In reply to: epc8_at_juno.com: "Re: Displaying the contents of pointers in cobol..."
- Next in thread: Richard: "Re: Displaying the contents of pointers in cobol..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 25 Jan 2005 13:26:09 -0800
epc8@juno.com wrote:
> 1. A pointer contains an address (or equivalent) so displaying its
> contents will be of no help to you.
>
> 2. REDEFINES simply allows different views of the same data item, for
> example both as a string of characters and as a string of digits.
This
> does not apply either.
>
> 3. It looks like you are calling a Windows API. Usually the details
of
> passing variables by reference are taken care of in the linkage
section
> and by the syntax of the CALL.
>
> AFAIK, COBOL does not have an operator which de-references a pointer,
> as you would do in C, which is something that returns what the
pointer
> is pointing at. So if you are actually passing a data structure which
> contains pointers to a routine, then you have to point them at other
> appropriate data structures yourself.
John Wrote:
thanks for your reply.
john.
- Next message: Richard: "Re: Displaying the contents of pointers in cobol..."
- Previous message: Tim Cordsen: "OT but necessary - job needed best in Germany"
- In reply to: epc8_at_juno.com: "Re: Displaying the contents of pointers in cobol..."
- Next in thread: Richard: "Re: Displaying the contents of pointers in cobol..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|