Wählen Sie oben rechts eine andere Programmiersprache aus.

Wählen Sie oben rechts eine andere Programmiersprache aus.

Wählen Sie oben rechts eine andere Programmiersprache aus.

commentcommentCommentComment (Operator)

Name

commentcommentCommentComment — Kommentar von einer Zeilenlänge.

Signatur

comment( : : Comment : )

Herror comment(const char* Comment)

Herror T_comment(const Htuple Comment)

void Comment(const HTuple& Comment)

static void HOperatorSet.Comment(HTuple comment)

Beschreibung

Kommentar von einer Zeilenlänge. Als Parameter, d.h. als Kommentar sind alle Zeichen zulässig. Sie müssen nicht, wie bei einem String, in Hochkommata gesetzt werden. Zeilenumbrüche, die in dieser Zeile vorkommen, werden in mehrere Kommentarzeilen umgesetzt.

Im Freitexteditor werden Kommentarzeilen durch einen Stern ('*'"*""*""*""*") als erstes druckbares Zeichen gekennzeichnet.

Dieser Operator hat keinen Einfluss auf den Programmablauf.

Parameter

CommentCommentCommentCommentcomment (input_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

Beliebige Zeichenfolge.

Beispiel (HDevelop)

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

Ergebnis

commentcommentCommentCommentComment wird nicht ausgeführt.

Modul

Foundation