News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

missing right parenthesis.... buggy hell

Started by oex, July 06, 2010, 01:38:49 AM

Previous topic - Next topic

oex

mov esi, chr$("chr$(""Name""), chr$(""")

OK this is silly.... it's not hard what am I missing? I want main chr$("") to hold:

chr$("Name"), chr$("

(ending in " ready for next line to combine with register string ie)

chr$("Name"), chr$("Variable Name

")

I get "error A2157: missing right parenthesis".... Is there a pre-char I can add like "" works?


EDIT: OK sorry fixed it.... For the record I used:

chr$("chr$(""Name""), chr$",40,34)
We are all of us insane, just to varying degrees and intelligently balanced through networking

http://www.hereford.tv

dedndave

put it in as a decimal (or even hex, i suppose)

print chr$('hello world'),13,10

i use 13 and 10 because i can't put the literals there
same dealeo

also - i don't think you need all that nesting of "chr$"
print chr$('hello world',13,10,'new line'),13,10

oex

We are all of us insane, just to varying degrees and intelligently balanced through networking

http://www.hereford.tv

dedndave

i see that, now - they are part of the text - you got me   :lol