Single line comment: //, ', REM, #
In the case of single-line comments from start tags to the end of the line, each character is interpreted as a comment. these characters will not be evaluated.//
Description
//
Data:
- text -
Compatible programing languages:
C | Visual C++ .NET | C++ | C# | Java | JavaScript | Object Pascal | Free Pascal | PHP
C | Visual C++ .NET | C++ | C# | Java | JavaScript | Object Pascal | Free Pascal | PHP
Examples
Example
Single line comment the possible of use:x = 5 * y; // x = xy
// y = 123;
if (x > 0) // x == true
x=5;
Example
Other pieces of example codes: // a4 = true
// z=333
// z = 49.5
// z=1.1
//
// z = 0
'
Description
'
Examples
Basic
Single line comment the possible of use:x = 5 * y ' x = xy
' y = 123;
if x > 0 then ' x == true
x=5
end if
Basic
Other pieces of example codes: ' x=90
' x = 2
' x = 3
' x=7
' a = false
' x = -12345
REM
Description
REM
Examples
Basic
Single line comment the possible of use:x = 5 * y ' x = xy
' y = 123;
if x > 0 then ' x == true
x=5
end if
Single line comment in another programming language: