Re: [PBML] Is the syntax correct on these two lines of code?
- To: firstname.lastname@example.org
From: Jeff 'japhy' Pinyan <japhy@...>
Date sent: Tue, 23 Nov 2004 10:42:21 -0500 (EST)
Subject: Re: [PBML] Is the syntax correct on these two lines of code?
Send reply to: email@example.com
>Erm. Yes, thanks for the correction. GOK why, but I was thinking of
> On Nov 23, Jenda Krynicky said:
> > aFunction $x, $y and anotherFunction;
> > aFunction $x, $y && anotherFunction;
> >The first one calls aFunction($x, $y) and then if the return value is
> >true calls anotherFunction(). The second one first checks whether the
> >value of $y is true, if yes it calls aFunction($x, $y), if not it
> >calls anotherFunction() and then aFunction($x,
> Almost. The seecond one send $y's value to aFunction() if $y's value
> is FALSE, and will send anotherFunction()'s value to aFunction() if
> $y's value is TRUE.
===== Jenda@... === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery