FireFly 3.51/PB10 and what I'm probably doing wrong.

Started by Nathan Durland, January 17, 2012, 05:50:46 PM

Previous topic - Next topic

Nathan Durland

We just got our upgrades to PB10, so I've installed that along with FF3.51, and Jose's include files.  Some things I've noticed

When working with existing projects, I need to add %WINAPI=1 to FF_AppStart; some of the include file I use will try to load WIN32API.INC if it's not there.  Certainly not Paul's responsibility; just wanted to throw it out there for anyone else that hasn't made the jump yet.

The only include path I can specify is for Jose's files. I have a whole other folder of include files that we use pretty regularly.  I have to specify the whole folder name in the source; previous versions had a configuration option for a separate .INC path.

Also learning all the new stuff with SQLTools3... My brain will need a rest tonite, I think.


Elias Montoya


Firefly 3.51 Does not support the include files provided by PowerBASIC, only Jose's. Also it only supports PB10.
Win7, iMac x64 Retina display 5K, i7-5820K 4.4 ghz, 32GB RAM, All updates applied. - Firefly 3.70.

Nathan Durland

Quote from: Elias Montoya on January 17, 2012, 08:48:38 PM
Firefly 3.51 Does not support the include files provided by PowerBASIC, only Jose's. Also it only supports PB10.

I realize that.  But I have include files for mundane/repetitive tasks -- Processing database logins, printing an invoice, adding a history record to a table.  I have two other programmers on my team, and we read these include files from a common network directory.  Yes, I could simply place Jose's include files -- nearly 1200 of them -- in the same folder as our stuff, but then it becomes a bit unwieldy to find the needle in the haystack.  If firefly could pass multiple include folders to the PB compiler (or gen the intermediate code for Jose's includes with the path already pre-pended), it would neatly solve my dilemma.

Rolf Brandt

I can see your point, Nathan. Such a path for personal reusable include files would be nice.

For the time being it might be an idea to rename your inc files with a prefix to a pattern like ND_MyInclude.inc. That would make it easy to locate them in the Josè path. Or a prefix like AA_ that would put them at the top of the list.

But of course an extra path would be ideal...

Rolf
Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)