Re: Returning multiple values

From: Date: Tue, 06 Mar 2001 06:35:21 +0000
Subject: Re: Returning multiple values
References: 1 2  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-382@lists.php.net to get a copy of this message
On Monday 05 March 2001 17:57, Jan Lehnardt wrote: > "Frank M. Kromann" <frank@frontbase.com> wrote: > > list($text, $spacing, $pixmap, $mask) = $cLlist->get_pixtext($row, > > $col); > > this produces more readable code I think. Much as I dislike the form list (...) = func (...) , have have to agree that this is probably the preferable method. I does make it obvious what is being sent and what is returned. OTH, if we go will a form like this, it will certainly increase the documentation requirements as the API becomes significantly different from the standard gtk API. -- Andrew Lawrence Smoke & Mirrors http://www.smoke-and-mirrors.net Tel: 416 461-8708 Fax: 416 461-1758

« previous php.gtk (#382) next »