When I try to define a constant as simple number what I get is either an error or a memory address, no matter what I try. What am I doing wrong?
According to this page doing this: "two = 2" would define "two" as a numeric constant, but when I do that what I get is the address $2, not the number #2. If I try "two = #2" I get "trailing garbage characters" error.
ca65 is v2.16
edit: apparently this feature is only for cc65? Is that correct? Is there a way to do it on ca65?
According to this page doing this: "two = 2" would define "two" as a numeric constant, but when I do that what I get is the address $2, not the number #2. If I try "two = #2" I get "trailing garbage characters" error.
ca65 is v2.16
edit: apparently this feature is only for cc65? Is that correct? Is there a way to do it on ca65?