Just use C++ with has references

void func( int & ref ) { ref++ }

On 30/03/2014 9:22 PM, Shmuel Metz (Seymour J.) wrote:
In <[email protected]>, on 03/30/2014
    at 01:34 AM, Bernd Oppolzer <[email protected]> said:

And my experience is that over 90 percent of them have
no clue what the descriptor logic of PL/1 is all about,
Nor should they. They should, however, understand the DECLARE
statement.

in C you have to do by reference explicitly by passing pointers
That's by value, and one of the pitfalls of C.

This is different from every other programming language.
Neither ALGOL 60 nor Ada allows mismatched parameters, and they are
far from the only ones that type-check.

BTW: is this kind of flexibility - adjustable lengths inside
structures  - really useful?
Yes.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to