D - Out parameter to functions
- j.zuk cetelembank.de (3/3) Jun 04 2002 The 'out' parameters in functions beheve like 'inout' .
- Walter (3/6) Jun 04 2002 Out parameters should be initialized by the callee, inout by the caller.
- Sean L. Palmer (6/12) Jun 05 2002 I don't believe you answered his question. Does D automatically default
- Walter (3/17) Jun 05 2002 If it doesn't, it's a bug!
The 'out' parameters in functions beheve like 'inout' . They should be inittialized with default value. am I right ?
Jun 04 2002
<j.zuk cetelembank.de> wrote in message news:adi1bd$m80$1 digitaldaemon.com...The 'out' parameters in functions beheve like 'inout' . They should be inittialized with default value. am I right ?Out parameters should be initialized by the callee, inout by the caller.
Jun 04 2002
I don't believe you answered his question. Does D automatically default initialize out parameters inside the callee (first thing during frame setup)? Sean "Walter" <walter digitalmars.com> wrote in message news:adj060$1l9d$1 digitaldaemon.com...<j.zuk cetelembank.de> wrote in message news:adi1bd$m80$1 digitaldaemon.com...The 'out' parameters in functions beheve like 'inout' . They should be inittialized with default value. am I right ?Out parameters should be initialized by the callee, inout by the caller.
Jun 05 2002
If it doesn't, it's a bug! "Sean L. Palmer" <seanpalmer earthlink.net> wrote in message news:adki60$65k$1 digitaldaemon.com...I don't believe you answered his question. Does D automatically default initialize out parameters inside the callee (first thing during frame setup)? Sean "Walter" <walter digitalmars.com> wrote in message news:adj060$1l9d$1 digitaldaemon.com...<j.zuk cetelembank.de> wrote in message news:adi1bd$m80$1 digitaldaemon.com...The 'out' parameters in functions beheve like 'inout' . They should be inittialized with default value. am I right ?Out parameters should be initialized by the callee, inout by the caller.
Jun 05 2002