i want store filename string in my program
work: %echo Break: @FileCur(@CatStr(%@Line))
not work:
db "&@FileCur&"
db "@FileCur"
db @FileCur
try this.
.data
file1 db "myfile.ext",0
file2 db "nextfile.ext",0
Or this:
.const ; or .data
% thisFile DB "&@FileCur&", 0
Cheers,
Zooba :U
WORK!!! :bg
arg catstr <">,@FileCur,<">
db arg
But next problem
@CodeSize allways 0
From MSDN (http://msdn2.microsoft.com/En-US/library/e6x752dz(VS.80).aspx):
Quote0 for TINY, SMALL, COMPACT, and FLAT models, and 1 for MEDIUM, LARGE, and HUGE models
I assume you are using the FLAT memory model, in which case @CodeSize should always be zero.
Cheers,
Zooba :U