Free2Code
 
Time: 2008-11-21, 09:32pm
error traping
Subject: error traping  ·  Posted: 2006-09-25, 10:53pm
Rank: ? (1)
Member #: 28603
i need help on how to error trap. i am creating a calctor and i want to error trap when you divide by zero is stead of gettin a run time error i want a text box to pop up and say hey u idiot or something to that effetc.
plz help

 
  Reply to this ·  Post link ·  Top
Subject: Re: error traping  ·  Posted: 2006-09-28, 03:06am
Rank: ? (4821)
Member #: 3416
on error goto <label>

i'm not sure if there's any way to tell what kind of error occurred though

my mind is like a steel trap! it only hangs on to the big stuff. visit my forums at track7.org
 
  Reply to this ·  Post link ·  Top

Pages: 1

Please login or register to post a reply.

icons