评论代码
/*
In all versions of
Progress ABL you can write
multi line comments
*/
/* They can also span a single line */
//Starting with version 11.6 you can also write single line comments
//Can you nest single line comments? //Yes you can
string = "HELLO". //A single line comment can be written after some code
string2 = "Goodbye". /* And the same thing
goes for multi line comments. A difference is
that a multi line comment also can preceed some code */ i = 1.
/* Is it possible to mix comments?
//Yes, but multi line comments always needs to be terminated! */
/* You can nest multi line comments as well
/* but then all nested comments must be terminated */ or the compiler
will generate an error */
正式单行注释以双斜杠//
开头,以换行符,回车符或文件结尾结束。