Ford, Mike wrote:
On 14 March 2007 22:52, Richard Lynch wrote:
On Wed, March 14, 2007 6:52 am, Myron Turner wrote:
Richard Lynch wrote:
On Tue, March 13, 2007 6:04 pm, Jonathan Kahan wrote:
The = operator takes precedence, and $d is set to 0.
But why? According to t
On 14 March 2007 22:52, Richard Lynch wrote:
> On Wed, March 14, 2007 6:52 am, Myron Turner wrote:
> > Richard Lynch wrote:
> > > On Tue, March 13, 2007 6:04 pm, Jonathan Kahan wrote:
> > > The = operator takes precedence, and $d is set to 0.
> > >
> > But why? According to the manual, the modul
On Wed, March 14, 2007 6:52 am, Myron Turner wrote:
> Richard Lynch wrote:
>> On Tue, March 13, 2007 6:04 pm, Jonathan Kahan wrote:
>> The = operator takes precedence, and $d is set to 0.
>>
> But why? According to the manual, the modulus operator has precedence
> over the equals! So shouldn't th
"php Lists"
Sent: Wednesday, March 14, 2007 8:29 AM
Subject: Re: [PHP] 2 errors I can not understand
On Wed, 2007-03-14 at 06:52 -0500, Myron Turner wrote:
Richard Lynch wrote:
> On Tue, March 13, 2007 6:04 pm, Jonathan Kahan wrote:
>
>> This did fix the problem but I am ama
On Wed, 2007-03-14 at 07:42 -0500, Myron Turner wrote:
> Robert Cummings wrote:
> > On Wed, 2007-03-14 at 12:57 +0100, Tijnema ! wrote:
> >
> >> On 3/14/07, Myron Turner <[EMAIL PROTECTED]> wrote:
> >>
> >>> Richard Lynch wrote:
> >>>
> On Tue, March 13, 2007 6:04 pm, Jonathan K
Robert Cummings wrote:
On Wed, 2007-03-14 at 12:57 +0100, Tijnema ! wrote:
On 3/14/07, Myron Turner <[EMAIL PROTECTED]> wrote:
Richard Lynch wrote:
On Tue, March 13, 2007 6:04 pm, Jonathan Kahan wrote:
This did fix the problem but I am amazed that
$s%$d=0 would be in
On Wed, 2007-03-14 at 12:57 +0100, Tijnema ! wrote:
> On 3/14/07, Myron Turner <[EMAIL PROTECTED]> wrote:
> > Richard Lynch wrote:
> > > On Tue, March 13, 2007 6:04 pm, Jonathan Kahan wrote:
> > >
> > >> This did fix the problem but I am amazed that
> > >>
> > >> $s%$d=0 would be interpereted as a
On Wed, 2007-03-14 at 06:52 -0500, Myron Turner wrote:
> Richard Lynch wrote:
> > On Tue, March 13, 2007 6:04 pm, Jonathan Kahan wrote:
> >
> >> This did fix the problem but I am amazed that
> >>
> >> $s%$d=0 would be interpereted as a statement assigning d to 0 since
> >> there is
> >> some oth
On 3/14/07, Myron Turner <[EMAIL PROTECTED]> wrote:
Richard Lynch wrote:
> On Tue, March 13, 2007 6:04 pm, Jonathan Kahan wrote:
>
>> This did fix the problem but I am amazed that
>>
>> $s%$d=0 would be interpereted as a statement assigning d to 0 since
>> there is
>> some other stuff in front of
Richard Lynch wrote:
On Tue, March 13, 2007 6:04 pm, Jonathan Kahan wrote:
This did fix the problem but I am amazed that
$s%$d=0 would be interpereted as a statement assigning d to 0 since
there is
some other stuff in front of d... I would think that would produce an
error
at compile time si
On Tue, March 13, 2007 6:27 pm, Robert Cummings wrote:
> Moral of the story? Don't be sloppy. Take pride in writing readable
> code. Anyone can produce gibberish.
The converse is not true.
:-)
IOW, some of us produce gibberish even when we are trying to write
readable code.
'Course, Perl hackers
On Tue, March 13, 2007 6:04 pm, Jonathan Kahan wrote:
> This did fix the problem but I am amazed that
>
> $s%$d=0 would be interpereted as a statement assigning d to 0 since
> there is
> some other stuff in front of d... I would think that would produce an
> error
> at compile time since $s%$d is a
While the others have provided the answers for your questions, I went
a little further before reading the whole thread, so here's some bonus
free advice. :-)
On Tue, March 13, 2007 4:30 pm, Jonathan Kahan wrote:
> 1) I can not get a line feed to work in the web page that i am using
> to
> display
Robert Cummings wrote:
On Tue, 2007-03-13 at 18:46 -0700, Jim Lucas wrote:
another suggestion would be to have it written this way
0 == ($s % $d)
if you by chance did this
0 = ($s % $d)
it will give you an error, because you cannot assign a value to a
literal value.
Yeah, this has flown a
On Tue, 2007-03-13 at 18:46 -0700, Jim Lucas wrote:
>
> another suggestion would be to have it written this way
>
> 0 == ($s % $d)
>
> if you by chance did this
>
> 0 = ($s % $d)
>
> it will give you an error, because you cannot assign a value to a
> literal value.
Yeah, this has flown across
Robert Cummings wrote:
On Tue, 2007-03-13 at 19:04 -0400, Jonathan Kahan wrote:
This did fix the problem but I am amazed that
$s%$d=0 would be interpereted as a statement assigning d to 0 since there is
some other stuff in front of d... I would think that would produce an error
at compile tim
On Tue, 2007-03-13 at 19:04 -0400, Jonathan Kahan wrote:
> This did fix the problem but I am amazed that
>
> $s%$d=0 would be interpereted as a statement assigning d to 0 since there is
> some other stuff in front of d... I would think that would produce an error
> at compile time since $s%$d is
Message
From: Jonathan Kahan <[EMAIL PROTECTED]>
To: php Lists
Sent: Tuesday, March 13, 2007 4:30:45 PM
Subject: [PHP] 2 errors I can not understand
Hi all,
Please see my output below followed by the code. I have been trying for
some to figure out why
1) I can not get a line feed t
php Lists
Sent: Tuesday, March 13, 2007 4:30:45 PM
Subject: [PHP] 2 errors I can not understand
Hi all,
Please see my output below followed by the code. I have been trying for
some to figure out why
1) I can not get a line feed to work in the web page that i am using to
display the output as I
7 6:08 PM
Subject: Re: [PHP] 2 errors I can not understand
That worked in answering part 1 now i got to figure out part 2
- Original Message -
From: "Tijnema !" <[EMAIL PROTECTED]>
To: "Jonathan Kahan" <[EMAIL PROTECTED]>
Cc: "php Lists"
Sent:
From: Matt Carlson <[EMAIL PROTECTED]>
To: Jonathan Kahan <[EMAIL PROTECTED]>; php Lists
Sent: Tuesday, March 13, 2007 5:12:03 PM
Subject: Re: [PHP] 2 errors I can not understand
I think you have an issue with the line
while($d<$s) when it comes to the number 3.
$d will NE
March 13, 2007 4:30:45 PM
Subject: [PHP] 2 errors I can not understand
Hi all,
Please see my output below followed by the code. I have been trying for
some to figure out why
1) I can not get a line feed to work in the web page that i am using to
display the output as I am not running from the
That worked in answering part 1 now i got to figure out part 2
- Original Message -
From: "Tijnema !" <[EMAIL PROTECTED]>
To: "Jonathan Kahan" <[EMAIL PROTECTED]>
Cc: "php Lists"
Sent: Tuesday, March 13, 2007 5:55 PM
Subject: Re: [PHP] 2
On 3/13/07, Jonathan Kahan <[EMAIL PROTECTED]> wrote:
Hi all,
Please see my output below followed by the code. I have been trying for
some to figure out why
1) I can not get a line feed to work in the web page that i am using to
display the output as I am not running from the commad line
Line
Hi all,
Please see my output below followed by the code. I have been trying for
some to figure out why
1) I can not get a line feed to work in the web page that i am using to
display the output as I am not running from the commad line
2) Why my loop is only executing 3 times when i want it
25 matches
Mail list logo