Hey, no fair! That possibility wasn't in the problem description. It
was fun anyway. ;->
Scott
On 17 Jan 2001 07:54:40 -0700, Derek Nerenberg wrote:
> Actually, I discovered that I was missing a return after a redirect. If you don't
>put in the return, the rest of your code still executes. Thanks for your help.
>
> Kindest Regards,
>
> Derek Nerenberg
>
> >>> Scott "M." Stirling <[EMAIL PROTECTED]> 1/16/01 9:41:43 PM >>>
> This was an interesting question so I tried it in a command line
> program. The first problem that comes up is when you enter in a
> character that's not going parse correctly, such as an alphabetic
> character or an equals sign or a space. Or any combination of one or
> more of those characters with valid integers. In this case, they will
> get through the if statement, but cause a NumberFormatException on the
> other side in the parseInt() method. You said the integers are valid,
> but I would say some of them must not be.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists