How return an error ?
Jim Ault
JimAultWins at yahoo.com
Sat Feb 11 13:54:01 EST 2006
On 2/11/06 10:32 AM, "Girard Damien" <dam-pro.girard at laposte.net> wrote:
> Hi all,
>
> I am making some useful library for my softwares, and I have got one
> problem.
>
> How I return an error ?
>
> Because when I use "return", this doesn't work very great.
>
> on hellotest theNumber
> if isnumber(theNumber) is false then
> return "error"
> end if
> ...
> end hellotest
You could try
> on hellotest theNumber
> if isnumber(theNumber) is false then
> return isnumber(theNumber)
> end if
but I don't know how useful this would be.
What error message do you want to return?
Jim Ault
Las Vegas
More information about the use-livecode
mailing list