I've noticed two things about the Insert Code Block feature in the forums I don't like. First, when I paste or write code with indented statements, the indentation is reduced. I've standardized on indenting 4 spaces, but when I click Submit,
this gets reduced to two spaces. Then each time the code is copied in subsequent replies, the indenting gets further reduced, or I must spend time restoring the spaces. Here is a quick example:
Do Until objFile.AtEndOfStream
strName = Trim(objFile.ReadLine)
If (strName <> "") Then
Wscript.Echo strName
End If
Loop
Second, if I later edit a post, any code previously inserted seems to get double spaced. One major purpose of the Insert Code Block feature is to prevent this. An example is my last post in this thread. The first code block in the post got double spaced
when I edited to add the second code block:
http://social.technet.microsoft.com/Forums/en-US/ITCG/thread/274d10eb-6adc-451a-8db4-6f552ffd7b97
Richard Mueller - MVP Directory Services