compiler not catching bad exit within routine

Ali Lloyd ali.lloyd at livecode.com
Tue Dec 6 18:03:59 EST 2016


I've no idea what the problem could be, but when things like this happen to
me I copy the routine and continually delete lines until either I discover
what I did wrong, or have a very minimal test case.

On Tue, Dec 6, 2016 at 9:30 PM Dr. Hawkins <dochawk at gmail.com> wrote:

> I have a (much longer) routine to the nature of
>
> on mkNwDnaRec
>
>
> if something then
>
> exit makeNewDnaRec
>
> end if
>
> end mkNwDnaRec
>
>
>
> The compiler doesn't choke when saving the editor window.
>
> It does, though, file to go to mkNwDnaRec stating that it can't find it.
>
> I then paste the routine into another script, and it catches the error.
>
> Paste it back, and it still isn't caught.
>
> ???
> --
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list