71 lines
1.4 KiB
OpenEdge ABL
71 lines
1.4 KiB
OpenEdge ABL
|
//line comment
|
||
|
|
||
|
/* block comment */
|
||
|
|
||
|
/* block comment on
|
||
|
multiple lines */
|
||
|
|
||
|
/* //line comment within block comment */
|
||
|
|
||
|
// /*block comment within line comment */
|
||
|
|
||
|
// using open-block-comment symbol alone on line comment /*
|
||
|
|
||
|
/* /* nested block comment */ */
|
||
|
|
||
|
DISPLAY "this line of code is a test".
|
||
|
DISPLAY "//this line of code is a test".
|
||
|
DISPLAY "/* this line of code is a test */".
|
||
|
|
||
|
// using close-block-comment symbol alone on line comment */
|
||
|
|
||
|
// /* improperly closed block comment within line comment */ */
|
||
|
|
||
|
/*
|
||
|
//line comment 1 in block comment
|
||
|
//line comment 2 in block comment
|
||
|
//line comment 3 in block comment
|
||
|
*/
|
||
|
|
||
|
/*
|
||
|
block comment text
|
||
|
//line comment text
|
||
|
/* inner block comment text*/
|
||
|
*/
|
||
|
|
||
|
DISPLAY "This is a open-block-comment symbol /*".
|
||
|
DISPLAY "This is a close-block-comment symbol */".
|
||
|
|
||
|
//* line comment plus * looks like open-block-comment
|
||
|
|
||
|
|
||
|
DISPLAY "this line of code is a test".
|
||
|
|
||
|
/*display statement within block comment
|
||
|
DISPLAY "this is a string".
|
||
|
*/
|
||
|
|
||
|
DISPLAY "//line comment within string".
|
||
|
|
||
|
DISPLAY "/* //line comment within block comment within string */".
|
||
|
|
||
|
/* Improperly closed block comment */ */
|
||
|
|
||
|
DISPLAY "this line of code is a test".
|
||
|
|
||
|
DISPLAY "line comment with leading whitespace". // this is a line comment
|
||
|
DISPLAY "line comment without leading whitespace".// this is not a line comment
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|