Hi:

In general you could use "error handling" to try to catch such cases.
There is a topic on the subject in the Online Help.


Maptitude Mapping Software <http://www.caliper.com>   Group Moderator



--- In [email protected], "hobbsies2" <chobbs@...> wrote:
>
>
> I was actually looking for a solution for when I am testing new code
that accidentally has an infinite loop.
>
> However, I didn't know about the progress bar feature.  I'll
definitely look into adding that in for some of my longer code.
>
>
> --- In [email protected], "dr_haspel" mhaspel@ wrote:
> >
> >
> >
> > Have you tried including a progress bar in the loop? The
CreateProgressBar() command allows inclusion of a "cancel" button on the
progress bar.
> >
> >
> >
> > --- In [email protected], "hobbsies2" <chobbs@> wrote:
> > >
> > > Does anyone know of a way to break out of the GISDK code while it
is stuck in an infinite loop?  Currently I've been using the task
manager to end the Maptitude process, but it would be nice if there was
a way that did not involve closing out of Maptitude.
> > >
> > > Thanks,
> > > Carrie
> > >
> >
>

Reply via email to