help-a-noob: Null Pointers

2005-03-27 Thread Chris Kavanagh
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

[SOLVED] Re: help-a-noob: Null Pointers

2005-03-27 Thread Chris Kavanagh
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

Re: help-a-noob: Null Pointers

2005-03-27 Thread Will Tomlinson
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

Re: help-a-noob: Null Pointers

2005-03-27 Thread Joe Rinehart
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

Re: help-a-noob: Null Pointers

2005-03-27 Thread Will Tomlinson
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

Re: help-a-noob: Null Pointers

2005-03-27 Thread Joe Rinehart
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

RE: help-a-noob: Null Pointers

2005-03-27 Thread Dave Watts
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

Re: help-a-noob: Null Pointers

2005-03-27 Thread Joe Rinehart
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

Re: help-a-noob: Null Pointers

2005-03-27 Thread Jared Rypka-Hauer - CMG, LLC
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

Re: help-a-noob: Null Pointers

2005-03-27 Thread Douglas Knudsen
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

Re: help-a-noob: Null Pointers

2005-03-27 Thread S . Isaac Dealey
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

Re: help-a-noob: Null Pointers

2005-03-27 Thread S . Isaac Dealey
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

Re: help-a-noob: Null Pointers

2005-03-27 Thread S . Isaac Dealey
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