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

//
Used keywords: //
Data:
  • text -
Compatible programing languages:
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

'
Used keywords: '
Compatible programing languages:
Basic | FreeBASIC | Visual Basic .NET

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
Used keywords: rem
Compatible programing languages:
Basic | Visual Basic .NET

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

#

Description

#
Used keywords: #
Data:
  • text -
Compatible programing languages:
PHP

Examples

PHP

Single line comment the possible of use:
$x = 5 * $y; # x = xy
# y = 123;
if ($x > 0) # x == true
   $x=5;
Languages: en hu cz sk