Statements Updated: July 10, 2012 A statement is a source code entry using the HotBasic instruction set. Many HotBasic keywords are listed in the Contents. A complete list may be found in the *.lst files in your \inc sub-directory. A source code line is a logical line consisting of all source file lines concatenated where the trailing character is "_". Source line length is not limited. A source line may contain any number of statements separated by ":". An exception is a code block defining a TYPE or OBJECT where one statement per source code line is used. form.width = 200: form.height = 300 Comments are added with the single quote character: 'this is a comment x = y * z 'x is the product If a line begins with "REM " (case-insensitive), it is also a comment: rem this is a comment In HotBasic statements, there should be no space before ":", "," or ";". i = j: x = cos(y) CALL MySub(arg1, arg2, arg3) PRINT "Value 1 = "; x This practice is similar to that in most language style manuals. Notice above that if () are used in SUB/FUNCTION calls, "(" and ")" also should not be preceded by a space. Copyright 2005 James J Keene PhD Original Publication: Apr 9, 2005