flat assembler
Message board for the users of flat assembler.
Index
> Main > Question about backslash |
Author |
|
mindcooler 24 Aug 2011, 20:50
Why not just break it into several db statements?
|
|||
24 Aug 2011, 20:50 |
|
rohagymeg 24 Aug 2011, 20:57
mindcooler wrote: Why not just break it into several db statements? I guess it will work that way. I appreciate your answer, thank you! How I didn't try this yet |
|||
24 Aug 2011, 20:57 |
|
AsmGuru62 24 Aug 2011, 21:11
Example:
Code: variable db 'A HUGE STRING' db '-------- WELL... NOT THAT HUGE, ACTUALLY!',0 |
|||
24 Aug 2011, 21:11 |
|
revolution 24 Aug 2011, 21:14
To answer the original question:
Code: db 'Abc. ',\ '123. ',\ 'Some more. ',\ 'Finshed.' |
|||
24 Aug 2011, 21:14 |
|
rohagymeg 25 Aug 2011, 01:31
Cool! There is a proper way after all!
The several db statements do the job very well, but with backslash I can see that they are together and make one huge line. Thanks, revolution! With your answers you don't just answer my questions, but give me a so I can understand more things that I didn't dare to ask lol. |
|||
25 Aug 2011, 01:31 |
|
typedef 25 Aug 2011, 02:13
To be honest, revolution is the best mod here.
|
|||
25 Aug 2011, 02:13 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.