[futurebasic] Re: [FB] FB3 Hello Wnd help

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 1999 : Group Archive : Group : All Groups

From: Derek Smith <dereksmi@...>
Date: Fri, 17 Sep 1999 19:39:35 -1000
On Fri, 17 Sep 1999, Jim wrote:

> I recieved the following error when I tried to demo FB3 for my nephew.
> 
> Error: Functions must be defined before using...
> In file Temp Project at line 87 in MAINACTIONS, Code=129740
> €FN pGbuild€(_HelloWindowWnd)
> 
> I tried it several times and decided that possibly the fact that I had FB2 on line might have been the problem but didn't have time to test it until now.  I stuffed FB2 with StuffIt! so it wouldn't 
> pick up something like STAZextras for example.

FB2 and FB3 do not conflict at all.  Totally different signatures and ways
of working.

In the include file you are trying to call fn pgBuild in, add this line to
the top:

Def Fn pGbuild (wndNum%)

FB3 needs you to prototype the function calls if you call them befoer they
have been defined.

-Derek