Back to Gambas
A good program has comments. They are very helpful to others trying to understand the program. When the program is compiled, all the comments are skipped. You can make comments as long as you want.
The difference between Gambas comments and VB comments is that Gambas has no such command as REM. Use the apostrophe instead.
'Apostrophe works. Rem does not.
Comments begin with an apostrophe and continue to the end of the line. Multi-line comments are not allowed.
'This is a comment and this is skipped during compilation.
You can comment or uncomment when you are testing a program. In the code window you can also mark some code and make a comment out of it with the shortcut Ctrl + K. You can uncomment with Ctrl + U.