Menu

#208 Comments in single statement block

open
Formatting (69)
5
2009-04-19
2009-04-19
Anonymous
No

When Option "Transform" --> "Add or Remove begin and end from single statements" sets to "Remove begin and end from around single statement" the code:

if Condition then
begin
__// Comment Line 1
__// Comment Line 2
__// Comment Line 3
__DoSomething;
end;

transfoms to:

if Condition then
__DoSomething// Comment Line 1
__// Comment Line 2
__// Comment Line 3
;

but expected:

if Condition then
__// Comment Line 1
__// Comment Line 2
__// Comment Line 3
__DoSomething;

Correct please.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.