Hi Bill

Yes, you're right - it wasn't proto'd.  I'd thought I was in the same
module as that in which it's declared.
Funny - I thought one got a message to the effect that it's not proto'd
in these cases.

Thanks

Terry

-----Original Message-----
From: Bill Thoen [mailto:[EMAIL PROTECTED] 
Sent: 19 October 2005 16:31
To: Terry McDonnell
Subject: Re: MI-L SON OF: Save me from pulling the rest of my hair out

This means that your function has not yet been defined to the compiler. 
You either need to place it or its prototype before this code in your
module. (Or you misspelled it!)

Terry McDonnell wrote:

>Dearest List
>
>The following code gives me 2 errors:
>- Expecting then
>- unrecognised command (.
>
>... on the 2nd if statement.  I'd added an extra line or 2 to the 
>function, but took them out, and still get the errors.  The fn. returns

>logical.
>
>If gnWalkLegID > 0 then
>    If ThisWinExists( gnWalkLegID) then
>        Close window gnWalkLegID ' If there's a Walk distances legend 
>window up, close it
>    End If
>End If
>
>What gives???!!!
>
>'ppreciate it
>
>Terry McDonnell
>
>---------------------------------------------------------------------
>List hosting provided by Directions Magazine | www.directionsmag.com | 
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>Message number: 18394
>
>  
>





---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 18397

Reply via email to