I've talked about this before to you, Privalov, but it would be nice to be able to redefine data that was previously defined somewhere back in the code. For example:
abc dd 123

; some more definitions
; ...
dd 456 at abc

Perhaps something like that is possible? Or maybe an ORG-like directive that sets $ to another value?
Posted on 2003-05-10 18:30:01 by comrade
Well, "$=" (or "org" directive) will only change assumed addresses, and it's actually impossible to move the output pointer. But you can achieve the same thing in other way, like:

abc dd abc_value
abc_current = 123
; some other definitions
abc_current = 456
; and this at the end of source:
abc_value = abc_current
Posted on 2003-05-11 06:01:55 by Tomasz Grysztar
Yes, I saw last night in dialog macro (dialog_size equate) and fixed it. :) Thanks!
But before I saw, I actually implemented setcur directive. It is copy of rb directive, but only allows negative values and does not zero data. I had some problem with it though.
Posted on 2003-05-11 08:11:04 by comrade