Re: Where to place comments?
Posted: Sat Jun 08, 2013 7:57 am
Wherever you wish to place them, as they are ignored by the compiler completely. It usually used to detail and explain the line of code directly underneath the comment (exampled below). Just keep in mind comments are only there to help refresh your brain on complex things (e.g. why do it this way, instead of that way). Commenting everything is just pointless. Tho you could if you really wanted to, its whatever you wanna do.
Code: Select all
;This procedure does something
Procedure DoSomething(Parameter.i)
;Displays the parameter passed to the DoSomething procedure
MessageRequester("", "Parameter is "+Str(Parameter)+"!")
EndProcedure
DoSomething(1)