Set comment text.

Hint: This command can be used in a FOR loop, except for IO boards.

Syntax:

    Comm <X|P|S|V|B> <name> <comment>

Arguments:

    name : object name

    comment : comment text

info Information

Use the following values for the first argument that specifies the kind of object:

X : project
P : program or sub-program or UDFB
S : structure
V : variable
B : IO board

In case of a variable, the name must be prefixed by the group namle follosed by the '.' separator. Some examples are attached below.

Examples:




Argument

Description

VarName

A global variable.

RETAIN.VarName

A RETAIN variable.

ProgName.LocVarName

A variable local to a program.

UDFBName.ParamName

A parameter of a UDFB.

StructName.Item

An item of a data structure.

Fixed_Image See also


Tag - Set short comment text (tag) - variables only

GetComm - Display a comment text

GetTag - Display a short comment text (tag) - variables only

 

Special commands

Managing programs

Managing program folders

Managing variables

Managing data types

Managing IO boards

 

The console



Created with the Personal Edition of HelpNDoc: Easily create iPhone documentation