PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Peter House on August 06, 2010, 12:14:16 PM

Title: Porting from DDT to Firefly
Post by: Peter House on August 06, 2010, 12:14:16 PM
I was porting a DDT application to Firefly and put my previous PB application into FireFly as a module.  After fixing the little error to get it to compile for the first time and having NOT moved any code into FireFly yet, the Firefly environment would just disappear at the end of compiling.

After working with Paul, The Function PBMain() was still in the module which causes FireFly to Close Immediately.  Note: PBMain() was just in a module and was never called.  This is not a runtime issue but a FireFly issue.

Thanks to Paul for a quick resolution and this post is in case anyone else runs into this.
Title: Re: Porting from DDT to Firefly
Post by: Roger Garstang on August 09, 2010, 12:48:51 PM
I can see the crashing being a FireFly issue and it should warn or prevent it from happening as well as not attempt to compile.  But, since only one PBmain should exist that portion wouldn't be FireFly's fault.  PB Compiler give duplicate name definition error which is what FF should display if it does attempt to compile.