Visual Basic - 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: '

Examples

Visual Basic .NET

Single line comment the possible of use:
x = 5 * y ' x = xy
' y = 123;
if x > 0 then ' x == true
   x=5
end if

Visual Basic .NET

Other pieces of example codes:
         ' x = 10
     ' x = 3.14159265359
  ' x = 3.14159274
       ' x = 4660
 ' a1 = false
   ' x=8

REM

Description

REM
Used keywords: rem

Examples

Visual Basic .NET

Single line comment the possible of use:
x = 5 * y ' x = xy
' y = 123;
if x > 0 then ' x == true
   x=5
end if
Languages: en hu cz sk