HTBasic Help
×
Menu
Index

REAL

 
REAL is a data type that is a subset of all rational numbers. MINREAL and MAXREAL are functions which return the smallest and largest positive real numbers. The range for negative numbers is -MINREAL to -MAXREAL.
 
Use REAL to declare local real variables and the COM statement to declare global real variables. Use the ALLOCATE statement to declare a local real variable which you can DEALLOCATE dynamically. If a variable is not declared, it will automatically be declared local and real unless CONFIGURE DIM OFF is used.