Hi,

I created a RadAsm project called DemoApp, and added some files to the project
After including them in code like this, I saved the project as a template:

include DemoApp_Globals.inc
include DemoApp.inc


From the template I created a new project, called TestApp.
The include lines above were translated correctly:

include TestApp_Globals.inc
include TestApp.inc


But were these files also present in the project folder?
The actual files that were added to the project are:

DemoApp_Globals.inc  ;This should have been TestApp_Globals.inc
TestApp.inc


Conclusion: The project text was changed as expected.
But the project files were only translated correctly when they
had nothing more than the application name plus an extension.

Is there something I can do to make it work?
Perhaps by manually changing the template script?

Friendly regards,
mdevries.
Posted on 2006-11-22 17:02:45 by mdevries
Hi

In the template, the first line after [*BEGINTXT*] you find the filename DemoApp_Globals.inc
Try changing it to [*PROJECTNAME*]_Globals.inc

If that does not work, just rename DemoApp_Globals.inc to Globals.inc

KetilO
Posted on 2006-11-23 01:32:05 by KetilO
Hi KetilO,

I am sorry, my post wasn't complete. I forgot to tell you that several weeks ago, when I used an older version of RadAsm, I searched the internet on this matter, and found the same solution you suggest. I tried it, but it didn't work. So, I thought it once was a solution, but not anymore. Maybe it will return in a future release.

Now that I have installed version 2.2.1.0, I tried it again, but it still didn't work.
One possibility was that I had to use another syntax, but I didn't know what that could be. Now that you responded, I know the syntax is correct, but it simply doesn't work.

Nevertheless, it would be nice if it could work. Is this something for a ToDo list?

Friendly regards,
mdevries.
Posted on 2006-11-23 07:26:00 by mdevries
Hi

This update should fix the bug with the above method.

KetilO
Attachments:
Posted on 2006-11-24 03:10:25 by KetilO
Thanks KetilO.

It works now.

Friendly regards,
mdevries.
Posted on 2006-11-25 06:30:06 by mdevries