[futurebasic] Re: [FB] FB configurations

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 2009 : Group Archive : Group : All Groups

From: Robert Purves <listrp@...>
Date: Thu, 9 Jul 2009 20:53:23 +1200
laurent@... wrote:

> I would like to reopen debate on FB 'compiler' configurations. They  
> have always caused me vexation because there has not been a clear  
> and reliable way to keep a program's required configuration(s) along  
> with the program.

That's certainly a current limitation of FB5. Settings are stored in  
exactly once place: FBtoC's preferences.

> I have often had to play about with an old program for quite a while  
> to redetermine the appropriate compiler configuration.

The Preferences dialog has just what you need: 'Set all to defaults'.

> Here is one fairly cheap modification to FB that might restore some  
> order:-- Make it a reportable bug to have program files alter  
> configurations made by menu.  That would force some coherence.

A program cannot alter FBtoC's settings.
Are you suggesting that these be removed?
   override _forLoopsAlwaysExecuteAtLeastOnce = _true
   override _RoundUpFloat2Long = _true

>  I would tend to have a separate configuration module for each  
> project. Or maybe several alternative ones.

That would be a Good Thing.

Robert P.