How to comment source code | empty comments
|
Pas2JS pascal source code
{ main.pas }
Begin
WriteLn('a');
//WriteLn('b');
WriteLn//
('c');
(*
WriteLn('d');
*)
WriteLn('e');
{
WriteLn('f');
}
WriteLn('g');
/*
WriteLn('h');
*/
WriteLn('i');
//(*
WriteLn('j');
//*)
{ <<< CONSOLE OUTPUTS >>>
a
c
e
g
i
j
}
WriteLn('a');
{}
WriteLn('b');
(**)
WriteLn('c');
/**/
WriteLn('d');
procedure Populate1;
Begin
WriteLn('Hello 1') ;
(*
(**)
End;
procedure Populate2;
Begin
WriteLn('Hello 2') ;
/*
/**/
End;
procedure Populate3;
Begin
WriteLn('Hello 3') ;
{
{}
End;
Populate1;
Populate2;
Populate3;
{ <<< CONSOLE OUTPUTS >>>
a
b
c
d
Hello 1
Hello 2
Hello 3
}