News:

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

formatting attachments

Started by shankle, January 20, 2005, 11:28:12 PM

Previous topic - Next topic

shankle

Can't remember the code to format my code so that it's easy to read.

Also when uploading 100 or so lines of code does it need to be zipped?

Couldn't find any refence to this in the forum. It was listed in the old forum.

Thanks,
JPS

Jack, have a look at this posting by choosing the "modify" button to see what the formatting control looks like.

Using the "code" tags,

    mov eax, 1
    xor eax, ecx


or using the "tt" tags,


    mov eax, 1
    xor eax, ecx
The greatest crime in my country is our Congress

Relvinian

To format your code to see it easily, enclose the code in the formatting codes:
[-code]
   code goes here...
[-/code]

Remember to remove the '-' symbol on the start and end tags to get the correct effect ;-)

Attaching source code to get help with or "inlining" it I guess is user-preference.  Possibly with 100 lines of code, I myself would like it to be attachment so I can view it in my own editor.  But like I said, it is all user-preference for the person.

Hope this helps.

Relvinian

hutch--

Jack,

Click on the "Additional Options ..." link under the window you post in if you want to attach a file. It must be a zip file that contains what you want to attach as I have it set up that way for security reasons.

You have a couple of options for displaying code directly, in square brackets before and after the posted code, you can use the pair "code" and "/code" or you can use "tt" , "/tt".
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php