Object Pascal - single line comment: //

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 -

Examples

Object Pascal

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

Object Pascal

Other pieces of example codes:
// y = -21604
// y = -25
 // a1 = true
// z = 256
    // z = 15
 // z = 0
Languages: en hu cz sk