Xbasic
{COMMENT}
Syntax
{COMMENT= Text }
Arguments
- Text
Character. A freeform text comment.
Description
The {COMMENT} command allows you to place a comment in-line with Xdialog code.
Example
ui_modeless_dlg_box("Remembered Get", <<%dlg% <20,3Click Here> | <20,3Or Click Here> {comment=These buttons do nothing} %dlg%)
It is easy to add comments to the body of an Xdialog. You just type any comment as you would in a script, by starting the line with a single quote. The single quote must be the first character on the line, and the Xdialog body must include the {removecomments} command on a line by its self. For example:
ui_dlg_box("test",<<%dlg% {removecomments} 'This is a comment - it won't show up because of the \ {removecomments} command; {lf}; Name: [.20Name]; {lf}; <10OK> <10Cancel>; %dlg%)
The {comment=} command was used prior to version 8.
Limitations
Desktop applications only
See Also