Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

commentcommentCommentCommentcomment (算子名称)

名称

commentcommentCommentCommentcomment — Add a comment of one line to the program.

参数签名

comment( : : Comment : )

Herror comment(const char* Comment)

Herror T_comment(const Htuple Comment)

void Comment(const HTuple& Comment)

static void HOperatorSet.Comment(HTuple comment)

def comment(comment: str) -> None

描述

commentcommentCommentCommentCommentcomment allows to add a comment of one line to the program. As parameter value, i.e., as comment, all characters are allowed. If the operator window is used to enter a comment and if there are newlines in the comment line parameter, one comment statement for every text line is inserted.

In the full text editor a comment is marked by entering an asterisk ('*'"*""*""*""*""*") as first non-whitespace character.

This operator has no effect on the program execution.

参数表

CommentCommentCommentCommentcommentcomment (input_control)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Arbitrary sequence of characters.

例程 (HDevelop)

* This is a program with comments
* 'this is a string as comment'
* here are numbers: 4711, 0.815
stop ()

结果

commentcommentCommentCommentCommentcomment is never executed.

模块

Foundation