main logo
Subject: Re: Variable 'FORM' is not found
Author: James H. Hansen
Posted: 2002/06/19 01:07:40
 
View Entire Thread
New Search


Gary,

The first thing to realize is that FORM has no meaning. There is a problem with CodeBook 6.x's error handling. I haven't been able to trace it down, but often FORM is substituted for some other name that should be in the error message. I expect it has something to do with the way errors are passed up the hierarchy.

It was not a problem in Doug Hennig's original error handler, which I adopted not quite fully to CodeBook 3. I still support a couple apps in CodeBook 3 in which Doug's error handling works fine.

So ignore FORM whenever it appears in an error message and try to guess which variable, property or object that is really the problem.

...Jim

<i><font color="#663300">I am installing CodeBook 6.2 and trying to follow the steps in CodeBook Step-By-Step. When I come to the part where I run 'Do Main'for the first time I get the message:

Error # 12
Message: Variable 'FORM' is not found
Line #: 232
Code : DEFINE BAR_mwi_cascade OF_mwindow
PROMPT "Ca<scade"
Message "Arranges windows as cscading tiles"
Object: gitter

Can anyone tell me what is happening here and how I can fix it?

Thanks,
Gary</font></i>

Jim Hansen
Canyon Country Consulting
 
©2002 James H. Hansen
<-- Prior Message New Search Next Message -->