Hello,

A simple question about AsmVars. It's not working with my files due to the fact (i think) that there's space in the name (or maybe the 8.3 name format)
E.G : my main file is called "Table Maker.asm", and here's the output from AsmVars:




==== Pass 1 of 4
Processing file: D:\RADASM~1.8\Masm\Projects\TABLED~1\TABLED~1.ASM
Including file: Table
Processing file: Table - ERROR OPENING!
==== Pass 2 of 4
Processing file: D:\RADASM~1.8\Masm\Projects\TABLED~1\TABLED~1.ASM
Processing file: Table - ERROR OPENING!
==== Pass 3 of 4
Processing file: D:\RADASM~1.8\Masm\Projects\TABLED~1\TABLED~1.ASM
Processing file: Table - ERROR OPENING!
==== Pass 4 of 4
Processing file: D:\RADASM~1.8\Masm\Projects\TABLED~1\TABLED~1.ASM
Processing file: Table - ERROR OPENING!
Total lines: 87


What is exactly the problem, and how can I solve it ?

Thank you very much.

Regards, Neitsa.
Posted on 2004-03-18 07:44:02 by Neitsa
Hi Neitsa

ASMVARS is an old and rusty program, and no source.
Stay away from spaces in filenames.


--------------------------------------------------
ASMVARS v1.00a, (c)2001 Jeremy Collake
http://www.collakesoftware.com http://www.asmcommunity.net/board/cryptmail.php?tauntspiders=in.your.face@nomail.for.you&id=1d6a8518cb8e7a6d3371abed6fcfe2a9
--------------------------------------------------

This program is designed to scan assembly language projects
for unreferenced local and global variables.

USAGE:

ASMVARS file1 file2 file3 ... [@files.lst] [!datatypes.lst] [-v]

ASMVARS can be provided a list of files on the command line, or
can read a list of files from a list file (prefixed with '@'). All
files provided to ASMVARS are treated as a single project. Wildcards
are not accepted. The -v switchs puts ASMVARS into verbose mode.

ASMVARS automatically includes files indicated by 'include xxx'
statements in the source code. Furthermore, ASMVARS automatically
picks up on STRUCT and UNION datatypes that are defined in the source
and also handles subsequent EQU's on those datatypes. However, if
you wish to manually specify datatypes then you can supply ASMVARS
with a datatypes list file by prefixing that filename with '!'.

Four passes are performed:
1 = Scan for INCLUDED files and datatypes.
2 = Scan for datatype EQUs.
3 = Scan for local variables declarations, local variable
references, and for global variable declarations.
4 = Scan for global variable references.

The return value is the number of unreferenced global and local variables
found.

Enjoy!
Jeremy Collake
Posted on 2004-03-18 08:06:00 by KetilO
Thanks Ketilo,

Stay away from spaces in filenames


Ok, I'll keep it in mind from now !

I've got some problems to maintain my source code (especially with data) when it becames big, and also when doing some test function that maybe not in final release (so, all associated datas have to be removed, and sometimes, I can forget some of them).

I'll try to think about a more reliable manner to code with big programs...if someone has some clues how to handle this problem, I'll be glad to listen to you !

Thank you very much.

Regards, Neitsa.
Posted on 2004-03-18 14:53:51 by Neitsa