Gu3st...
2007-09-11 10:25:12
Comments is very usefull to comment on a procedure, a constance a variable and other things, to get the user to understand what it does.
It is also usefull to take away a part of a code:
Example:
Copy/Paste this into scar.
This is all "Comment Codes" that you can use.
//- comments are for 1 line only.
{}- comments are for 1+ lines.
(**)- comments are for 1+lines.
Example:
Copy/Paste this into scar.
It is also usefull to take away a part of a code:
Example:
Copy/Paste this into scar.
program New;
Begin
Wait(500)
//code.
//Wait(500) //This will only wait 0.5 second instead of 1 second.
End.
This is all "Comment Codes" that you can use.
//- comments are for 1 line only.
{}- comments are for 1+ lines.
(**)- comments are for 1+lines.
Example:
Copy/Paste this into scar.
program New;
begin
//Comment.
{Comment.}
(*Comment.*)
end.