int e l 1.4 DEFINITION OF TERMS DATA FORMAT: The range of numbers that can be represented in MCS BASIC-52 is: = 1E-127 to +-.99999999E+127. There are eight digits of significance in MCS BASIC-52. Numbers are internally rounded to fit this precision. Numbers may be entered and displayed in four formats: integer, decimal, hexadecimal, and exponential. EXAMPLE: 129, 34.98, 0A6EH, 1.23456E + 3 INTEGERS: In MCS BASIC-52, integers are numbers that ranges from 0 to 65535 or 0FFFFH. All integers can be entered in either decimal or hexadecimal format and all hexadecimal numbers must begin with a valid digit (e.g. the number A000H must be entered 0A000H). When an operator, such as .AND.
requires an integer, MCS BASIC-52 will truncate the fraction portion of number so it will fit the integer format. All line numbers used by MCS BASIC-52 are integers. This document will refer to integers and line numbers, respectively in the following manner: [integer] -- [In num] NOTE -- Throughout this document the brackets [] are used only to indicate an integer, constant, etc. They are NOT entered when typing the actual number or variable. CONSTANTS: A constant is a real number that ranges from +- 1E - 127 to +- .99999999E + 127. A constant, of course, can be an integer. This document will refer to constants in the following manner: [const] OPERATORS:
An operator performs a pre-defined operation on variables and/or constants. Operators require either one or two operands. Typical two operand or dyadic operators include ADD (+), SUBTRACT (-), MUL- TIPLY (*), and DIVIDE (/). Operators that require only one operand are often referred to as UNARY OPERATORS. Some typical UNARY OPERATORS are SIN, COS, and ABS. - 5 -