You can add comments to Xbasic by starting a line with an apostrophe.
An apostrophe placed at the beginning of a line of code will designate that line of code as a comment. When the machine reads the program it will then ignore any commented lines included in the code. This can be useful when adding text to a program that specifies the function of a line or block of code. It is also useful for commenting out lines of code that you want to skip. Example:
'All of this text and the Xbasic will be skipped 'dim field_value as D 'delete field_value
Commenting out Blocks of Xbasic
Highlight the code to comment out
Click the comment out button
To remove the apostrophes from comments and include lines back into the code:
Highlight the code to un-comment out.
Click the 'Un-Comment Out' button