The MapBasic development environment includes a MapBasic Definitions File (mapbasic.def) that lists definitions and defaults useful when programming in MapBasic. To have MapBasic statements and function calls work properly, add an Include statement for the mapbasic.def in the beginning of your programs.
Include "mapbasic.def"
Codes that are defined in mapbasic.def may not be entered in the MapBasic window. The mapbasic.def file contains many Define statements, including statements for TRUE, FALSE, and commonly-used colors (such as BLACK, WHITE, RED, GREEN, BLUE, CYAN, MAGENTA, and YELLOW). Each Define statements sets a code with a specific value; for example, the code BLACK has a numerical value of zero (0). When you are entering commands into the MapBasic window, you must use the actual value of each code, instead of using the name of the code (for example, use 0 instead of BLACK).
For more information about the MapBasic development environment, see the MapBasic User Guide.