On Sat, 29 Jun 2013 15:28:06 +0200, Bernd Oppolzer wrote: > >normally pointers to structures are passed between PL/1 and C, >and these structures are defined (language independent) using a >repository, from which both structure definitions for both languages >are generated (and for ASSEMBLER, too, BTW). > One thing I believe I've noticed about IBM's C is that parameters of most types are passed by reference: the address of the parameter, not its value, is passed in the argument list. It's left to the subroutine to make a copy of the value. However, if the parameter is of a pointer type, its value, not its address is passed in the argument list. Confusing. And could produce unexpected results if the programmer resorts to type punning.
Did I observe correctly? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
