At 3:04 PM -0400 8/26/06, Robert Cummings wrote:
On Sat, 2006-08-26 at 14:23 -0400, tedd wrote:
> Besides, what Alex Turner said about NULL is correct -- it's absurd
to have NULL evaluate to anything. Just because one language allows
absurdity doesn't mean you have to practice it.
One lang
On Saturday 26 August 2006 06:29, Colin Guthrie wrote:
> > So unless someone has a better idea, I'm back to Kate and a terminal
> > window. :-)
>
> That's the setup I always seem to revert to too!! Can't help but love
> Kate, if only it had some sort of code completion I'd be a happy camper...
>
>
On Sat, 2006-08-26 at 15:38 -0400, tedd wrote:
> At 3:04 PM -0400 8/26/06, Robert Cummings wrote:
> >On Sat, 2006-08-26 at 14:23 -0400, tedd wrote:
> >
> > > Besides, what Alex Turner said about NULL is correct -- it's absurd
> >> to have NULL evaluate to anything. Just because one language allow
Right or wrong - C does not actually have NULL :-) NULL in C is simply mapped
to zero. It is useful in logic to sometimes use mapping of logical sentence
letters to numbers and use mathematics to perform proof, but that is a special
case.
In languages like C, there is no special method of m
On Sat, 2006-08-26 at 14:23 -0400, tedd wrote:
> At 2:30 PM -0400 8/26/06, Robert Cummings wrote:
> >On Sat, 2006-08-26 at 12:41 -0400, tedd wrote:
> > > At 4:51 PM +0100 8/26/06, Alex Turner wrote:
> >> >And to be very pedantic - as null does not have a type then actually
> > > >'x === null' sh
At 2:30 PM -0400 8/26/06, Robert Cummings wrote:
On Sat, 2006-08-26 at 12:41 -0400, tedd wrote:
> At 4:51 PM +0100 8/26/06, Alex Turner wrote:
>And to be very pedantic - as null does not have a type then actually
> >'x === null' should evaluate to absurdity, but PHP is more pragmatic
>than
On Sat, 2006-08-26 at 12:41 -0400, tedd wrote:
> At 4:51 PM +0100 8/26/06, Alex Turner wrote:
> >And to be very pedantic - as null does not have a type then actually
> >'x === null' should evaluate to absurdity, but PHP is more pragmatic
> >than that ;-)
>
> That's a very good point.
>
> While
At 4:51 PM +0100 8/26/06, Alex Turner wrote:
And to be very pedantic - as null does not have a type then actually
'x === null' should evaluate to absurdity, but PHP is more pragmatic
than that ;-)
That's a very good point.
While one NULL variable in php can be compared to another NULL
variab
Rob,
I'd go along with the setting a var to null issue (in the cases I have worked
so far on, there has not been a need to set variables to null). However, what
is wrong with is_null()?
>From the php manual chm:
>
(PHP 4 >= 4.0.4, PHP 5)
is_null -- Finds whether a variable is NULL
Descr
Cool! That is a very good point - I'll remember to use '=== null' in future.
Then at least my code will have enough coffee even if I don't!
Thanks - AJ
Alexander J Turner Ph.D.
www.deployview.com
www.nerds-central.blogspot.com
www.project-network.com
-Original Message-
From: Robert Cu
On Sat, 2006-08-26 at 16:51 +0100, Alex Turner wrote:
> Rob,
>
> I'd go along with the setting a var to null issue (in the cases
> I have worked so far on, there has not been a need to set variables
> to null).
Maybe so, but if a variable ever happens to contain null and you're not
aware of it,
On Sat, 2006-08-26 at 12:49 +0100, Alex Turner wrote:
> I don't know what I was on when I wrote the previous post!
>
> In php you cannot create static class variables in this way (doh) or at
> least I never have managed. So when faced the this problem I replace
> what in C++ would be a class va
Documented research indicate that on Fri, 25 Aug 2006 13:18:25 +0200, "Ivo
F.A.C. Fokkema" wrote:
>
> You might also try to process the results from the form first, and then,
> if errors are found, display the form again and put the data in there
> yourself. No need to send the user back and fort
I don't know what I was on when I wrote the previous post!
In php you cannot create static class variables in this way (doh) or at
least I never have managed. So when faced the this problem I replace
what in C++ would be a class variable with a class function
comme ca:
class MyClass
{
f
Larry,
I have hit similar global names space issues in the past and it is a
pain in the behind!
One remedial method that can get it stable enough to start to work on is
to stick the whole messy lot into classes (NOT OBJECTS!) and then the
global name space becomes the local namespace (ie $My
Larry Garfield wrote:
On Tuesday 22 August 2006 03:33, Colin Guthrie wrote:
Larry Garfield wrote:
http://www.zend.com/phpide/
I just tried to install the modular version for my existing Eclipse
install. It insists it won't install without feaure org.eclipse.emf
(2.2.0). Since it provides no i
On Tuesday 22 August 2006 03:33, Colin Guthrie wrote:
> Larry Garfield wrote:
> >> http://www.zend.com/phpide/
> >
> > I just tried to install the modular version for my existing Eclipse
> > install. It insists it won't install without feaure org.eclipse.emf
> > (2.2.0). Since it provides no indic
17 matches
Mail list logo