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

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

From: Chris Stasny <staz@...>
Date: Mon, 20 Sep 1999 09:53:15 -0500
>> 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.
>>
>> I still have the error.  I looked in the prefs and tried to see where the
>> problem exists.
>>
>> So...
>>
>> the problem is with pGbuild....
>>
>> What is it I am overlooking?
>>
>> TIA
>>
>>
>>
>> Jim Mumaugh
>
>I had the same problem. It worked fine once I DEF FNed pGbuild at the
>begining of my .MAIN file.
>
>Don't ask me why, I had to def fn my other FN's that I was calling from
>outside their own INCL files.
>
>So add this line at the beginning but outside of the PG code area...
>
>DEF FN pGbuild(_HelloWindowWnd)

If you had to use DEF FN on pGbuild, then the files in your project are out
of order.



Best,

-STAZ  ~)~

800.348.2623 Orders  http://www.stazsoftware.com
228.255.7086 FAX     mailto:staz@...