Why are INC files being generated?

I have a strange issue:

We use (share) the same APP file (ABC), Clarion11.1, same templates, but:

On my machine IDE generates CLW only

Colleague generates CLW + INC files and different maps

So we have different files at the end.

Why? What setting do I need to sync to have the same result in generation? tia

Hi

Note: close any open apps first.

Have a look at Tools->Application Options->General tab and see if Create local MAP is ticked

This setting generates included inc’s for the modules and inside those inc’s will be local maps that stipulate what procedures are called from that module.

If not ticked, then all procedures are listed in the global map.

Mark

2 Likes

Mark,
Yes, have checked it already!
And both have “Create local MAPs” OFF!

but it still generates inc files on other PC. can’t understand really

Maybe a RED file issue? Could it be generating the INC files in some other folder? Just guessing.

1 Like

Donald,

no, the difference is that all modules will be generated differently - it will have all Procedures in the main module MAP.

So we have different CLW files as well, not just an INC files location…

Hello -

You say:

You are 100% sure that colleague has local maps turned off?

1 Like

Jeff, yes, I am sure :slight_smile:

my PC

colleague pc

Hi,

The “Enable #ASSERT checking” settings are different…

I don’t think so… :slight_smile:

Enable #ASSERT checking
Check this box to enforce heightened error checking during source code generation. This allows the Application Generator to identify certain template execution problems and notify you during source code generation. This slows the code generation process slightly. Clear the box for faster, but riskier source code generation.

Hi,

I’m wondering after that check box has been ticked and the app compiled if there might be a bug where the conditional generation is then set for the application no matter if later unchecked.

I guess the only way to see would be exporting to txa and checking in the txa code.

Mark

Mark,

I understand. BUT, we share this app (and all other as well) so the app is the same, Application options are the same - but the generated code is different. That’s what I don’t understand.

Have you hashed some of the templates on both machines that are in use in the app?

They generate the code so should at least be identical on both machines if they are the same version.

Rich,
good idea, will compare…