[Site Home] [Forum Home] [Articles] [File DB] [News Archives]

Programming -> Error trapping


(View original topic)


typon - Jan-12-2005 server time
worked thanks
<3

Athy - Jan-09-2005 server time
QUOTE (wtd @ Jan 9 2005, 04:57 PM)
F10 is general Turing help. F9 takes you to help related to the word in front of your cursor.

Cool, thanks, any shortcuts in Turing help.

wtd - Jan-09-2005 server time
F10 is general Turing help. F9 takes you to help related to the word in front of your cursor.

Athy - Jan-09-2005 server time
QUOTE (wtd @ Jan 9 2005, 03:02 AM)
QUOTE (typon @ Jan 9 2005, 12:17 AM)
umm im talking about turing.

PLEASE HELP WTD

Type "strrealok" and hit F9.

Cool! SO if you hit F9 it takes you to Turing Help?

wtd - Jan-09-2005 server time
QUOTE (typon @ Jan 9 2005, 12:17 AM)
umm im talking about turing.

PLEASE HELP WTD

Type "strrealok" and hit F9.

Athy - Jan-08-2005 server time
QUOTE (wtd @ Jan 8 2005, 10:22 PM)
QUOTE (Athy @ Jan 8 2005, 08:58 PM)
As far as I know you can't errortrap letters if you need a number input, but I might be wrong.  conf.gif

<3  dancingbanada.gif

Of course you can. If you can determine what the numbers in the input were to do the conversaion, then you can certainly check to see if there are any letters that can be converted to numbers.

Woah, must remember to yell at teacher! Lol!

<3

typon - Jan-08-2005 server time
umm im talking about turing.

PLEASE HELP WTD

wtd - Jan-08-2005 server time
QUOTE (Athy @ Jan 8 2005, 08:58 PM)
As far as I know you can't errortrap letters if you need a number input, but I might be wrong. conf.gif

<3 dancingbanada.gif

Of course you can. If you can determine what the numbers in the input were to do the conversaion, then you can certainly check to see if there are any letters that can be converted to numbers.

Athy - Jan-08-2005 server time
As far as I know you can't errortrap letters if you need a number input, but I might be wrong. conf.gif

<3 dancingbanada.gif

Red Squirrel - Jan-08-2005 server time
What language?

Check if it has a function that checks if it's a number or not.

for example wit php you'd use preg_match to ensure it's a number and you could even limit how many digits as well.

typon - Jan-08-2005 server time
Hi ppl.

I need help on how to error trap number inputs really bad.

E.G.
If i need a user input value as real, and they enter "dfasdf", how do i error trap that

PLEASE HELP ME ASJHASFJAS

(Showing 50 last posts, newest on top)