Character.forDigit() is defined to give you a null value if you pass in an invalid value. Just use that wherever you need to pass a Java null. Best of all it works all the way back to CF4.5.
cheers, barneyb On Fri, 25 Feb 2005 05:30:26 -0400, Dov Katz <[EMAIL PROTECTED]> wrote: > How can I pass null values into java calls or constructors (via cfscript) in > CFMX 6.1? I'm modifying image.cfc to add my own compression level control > for JPEG.... Null doesnt seem to be recognized. I've even tried to make a > bogus hashtable and do a get() on some random string key ,(which obviously > returns null) ... then i get a complaint that null pointers are a nother name > for undefined values... Please help.. (or provide a better method for > downsampling JPG images).... > > Thanks > -Dov > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196581 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

