[Gambas-user] Compiling A Gambas Project

Nigel Verity nigelverity at ...67...
Sun Dec 1 18:15:08 CET 2013




Hi Tobi

Perhaps if I describe a scenario I encountered yesterday you can advise on whether the behaviour should be expected or whether there is actually a bug.

I always structure my projects using the default approach so that each form has its associated .class file in which the form-specific code resides. However, user-defined functions which may be used on multiple forms I place in a .module file, usually called mdlShared.

My problem yesterday involved calls to mdlShared.setFontAttributes(). After a bit of redesigning I replaced this function with mdlShared.setFont(). Unfortunately I forgot to remove several calls to .setFontAttributes() even though I had removed the function itself. These calls were not detected by "Compile All" but resulted in runtime errors.

Regards

Nige
 		 	   		  


More information about the User mailing list