Hello list!
It's 12.47pm and I didn't go to sleep last night. Thank the goddess
for illegal stimulants.
So I'm bashing my exhausted head on the desk with this error message:
--
The system has attempted to use an undefined value, which usually
indicates a programming error, either in your
And seconds after crying for help, I realised what it was: a null field
in my backend database that can't be null.
I know, I know. I'm very tired, okay?
Sorry to waste everybody's bandwidth.
Best regards,
CK.
~|
Logware
Shouldnt line 149 read:
CFSET diff = #DateDiff(d, Now(), deadline)#
Originally your pounds are on the inside of the datefunction.
CFSET diff = DateDiff(d, Now(), #deadline#)
~|
Discover CFTicket - The leading ColdFusion
They're equivalent, but you don't need any #'s at all:
cfset diff = DateDiff(d, Now(), deadline) /
-Joe
On Sun, 27 Mar 2005 08:26:27 -0400, Will Tomlinson [EMAIL PROTECTED] wrote:
Shouldnt line 149 read:
CFSET diff = #DateDiff(d, Now(), deadline)#
Originally your pounds are on the
They're equivalent, but you don't need any #'s at all:
cfset diff = DateDiff(d, Now(), deadline) /
Joe,
I know it's not a biggie, but that means the #'s actually would slow it down a
little?
Thanks,
Will
~|
Logware
Shouldn't, but it's harder to read w/ #'s.
On Sun, 27 Mar 2005 11:32:19 -0400, Will Tomlinson [EMAIL PROTECTED] wrote:
They're equivalent, but you don't need any #'s at all:
cfset diff = DateDiff(d, Now(), deadline) /
Joe,
I know it's not a biggie, but that means the #'s actually
I know it's not a biggie, but that means the #'s actually
would slow it down a little?
No, probably not to a noticeable degree. However, you would then be using
pound signs unnecessarily, which indicates that you may be unsure when you
need to use them and when you don't. An easy-to-remember
No, probably not to a noticeable degree.
I imagine it's probably none at all - probably winds up with same
bytecode in the end?
-Joe
--
For Tabs, Trees, and more, use the jComponents:
http://clearsoftware.net/client/jComponents.cfm
I'm guessing that unless you've got 20 million of them in a page,
they're blitzed after the first run... so they're only going to slow
things down in a development environment or for very dynamic pages
that can't be cached in some way.
No matter how you slice it though, the characters have to be
most importantly, you will impress your peers with your superb
knowledge in 'The Use of Pound Signs' ;)
D
On Sun, 27 Mar 2005 21:29:23 -0600, Jared Rypka-Hauer - CMG, LLC
[EMAIL PROTECTED] wrote:
I'm guessing that unless you've got 20 million of them in a page,
they're blitzed after the
I'm guessing that unless you've got 20 million of them in
a page,
they're blitzed after the first run... so they're only
going to slow
things down in a development environment or for very
dynamic pages
that can't be cached in some way.
Well it would have to be a page for which the Java
most importantly, you will impress your peers with your
superb knowledge in 'The Use of Pound Signs' ;)
I'm always very impressed by this knowledge. :)
s. isaac dealey 954.522.6080
new epoch : isn't it time for a change?
add features without fixtures with
the onTap open source framework
No, probably not to a noticeable degree.
I imagine it's probably none at all - probably winds up
with same
bytecode in the end?
Yes although at some point that # symbol does have to be removed
during the process of converting CFML to java bytecode. Though it
generally only happens once after
13 matches
Mail list logo