in, out and inout for function arguments

Derek Parnell derek at psyc.ward
Thu Oct 12 10:17:03 PDT 2006


On Thu, 12 Oct 2006 09:05:23 -0700, BCS wrote:

> Derek Parnell wrote:
>> Once the function gets control, it can modify
>> the passed arguments as much as it likes, but only changes to 'in' and
>> 'inout' arguments get fed back to the calling code.
>>
> 
> IIRC that would be: only *out* and inout arguments get fed back to the 
> calling code.

Of course ... just testing to see if you were awake ;-)

-- 
Derek Parnell
Melbourne, Australia
"Down with mediocrity!"



More information about the Digitalmars-d mailing list