I don't think it's the forum because the sample Alan used was in a previous email from him and it came across indented to me. FWIW, I'm using Outlook 2007. Before the powers that be "upgraded" us, I used Thunderbird; can't swear to it, but I think the indentations came through fine there, too.

I'm not a real pro with all of the @#$% options in Outlook, but it may be some setting. Or the email reader pert se.

Jerry C. Adams
IBM System i Programmer/Analyst
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Michael Ryan
Sent: Tuesday, July 08, 2008 12:12 PM
To: Midrange Systems Technical Discussion
Subject: Re: Forum mangling code.

code.midrange.com?

On Tue, Jul 8, 2008 at 12:55 PM, Alan Campin
<Alan.Campin@xxxxxxxxxxxxxxxx> wrote:
Does anyone know a way to keep the forum from mangling code?



You post a piece of code and it comes out like mush with all the blanks
compressed. Virtually unreadable.



This (Period added to keep from screwing up):



....Exec Sql Open C1;
....If SqlState <> cSqlStateOk;
......ERRH_Throw('CPF9898' :
........................CPFMessageFileName :
........................'Open of Cursor C1 failed');
...EndIf;



Becomes this:



Exec Sql Open C1;
If SqlState <> cSqlStateOk;
ERRH_Throw('CPF9898' :
cCPFMessageFileName :
'Open of Cursor C1 failed');
EndIf;



Why does the forum do this?

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.