Using Comments

<< Click To Display Table Of Contents >>

You Are Here:  MADRIX Script (Introduction) > Basics >

Using Comments

During your study of this manual, surely you have encountered source code examples with text that is not part of the actual script. These so-called comments are a help for the programmer and other users of the script. Comments are used for a better readability and understandability of the source code.

There are two different kinds of comments in MADRIX Script:
 

Single line comments are induced with "//" and they end at the end of the line.

//This is a comment about a single line
//This is the next line
 

 
 

Multi-line comments are started with "/*" and they end with "*/".

/* the comment starts here
 
the comment ends here */
 

MADRIX 3.23.
[Ctrl & +/-] = Zoom In/Out | [Ctrl & 0] = 100%

 

 Previous     Next

 


Enable Automatic Translation | Activer La Traduction Automatique | 启用自动翻译