flat assembler
Message board for the users of flat assembler.

Index > Windows > Comfortable WinAsm programming

Author
Thread Post new topic Reply to topic
kasake36



Joined: 28 Mar 2006
Posts: 68
kasake36 28 Mar 2006, 13:30
I'm starting assembler-programming on windows and, as programmer, i'm used to that, when writing code, to stop at column 80. But with winass-programming this seems to be impossible with all these long-name parameters (e.g. MB_ICONINFORMATION).

My editor breaks every line that moves beyond column 80; sure, i could change that but i personally would hate it...

Is someone of you struggling with the same problem? Can i force the fasm-compiler to accept statements that span over multiple lines? I believe i've read something like that somewhere, but couldn't find it in the readme after a quick glance. Thanks!
Post 28 Mar 2006, 13:30
View user's profile Send private message Reply with quote
vbVeryBeginner



Joined: 15 Aug 2004
Posts: 884
Location: \\world\asia\malaysia
vbVeryBeginner 28 Mar 2006, 13:39
you could use " ,\ "

eg.
Code:
invoke myprocedure,\
        var1, var2, somelongnamevar3, morelonglonglongvar4,\
        longlongvar5, var6
    
Post 28 Mar 2006, 13:39
View user's profile Send private message Visit poster's website Reply with quote
vbVeryBeginner



Joined: 15 Aug 2004
Posts: 884
Location: \\world\asia\malaysia
vbVeryBeginner 28 Mar 2006, 13:40
----- [deleted] accidentally clicked twice -----


Last edited by vbVeryBeginner on 28 Mar 2006, 13:50; edited 1 time in total
Post 28 Mar 2006, 13:40
View user's profile Send private message Visit poster's website Reply with quote
kasake36



Joined: 28 Mar 2006
Posts: 68
kasake36 28 Mar 2006, 13:42
Damnit! Thanks! I run some examples and was actually wondering about this ",\" stuff!!! Great!!!
Post 28 Mar 2006, 13:42
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.