[Glade-users] Formal Parameter Declaration



Hi folks

Glade_2 has a practice of declaring formal parameters in the form:
(<identifier> : access WhateverType)

This, to my way of thinking, should have the same effect as the form:
(<identifier> : in out WhateverType)
since "in out" actuals are passed by reference.  It seems, however, to be more
orthodox Ada Style.

If there is no difference, why the departure from Standard?  If there is a
difference, what is it?

Thanks
-------------------------------------------
"Professional qualitative judgement
   consists in knowing the rules
     for using (or occasionally breaking)
       the rules."
                            D. Royce Sadler
-------------------------------------------
Rick Duley
Murdoch University
School of Engineering Science
Perth, Western Australia
http://eng.murdoch.edu.au/~rick
aussie : 040 910 6049                .-_|\
o'seas : + 61 40 910 6049           /     \
                              perth *_.-._/
                                         v






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]