Version II.0, February 1979
This function returns the number of bytes that the “item” passed as a parameter occupies. SIZEOF is particularly useful for FILLCHAR, MOVELEFT and MOVERIGHT intrinsics.
This function returns the log base ten of the NUMBER passed as a parameter.
This procedure returns the current value of the system clock. It is in 60ths of a second. (This is somewhat hardware-dependent; we assume a 16-bit integer size and 32-bit clock word. The HIWORD contains the most significant portion.
Warning: The sign of the LOWORD may be negative since the time is represented as a 32-bit unsigned number.) The HIWORD and LOWORD must be VARiables of type INTEGER.
This function returns the value of 10 raised to the EXPONENT power. EXPONENT must be an integer in the range 0 to 37.
These procedures are used for returning dynamic memory allocations to the system. HEAPPTR is of type ^INTEGER. MARK sets HEAPPTR to the current top-of-heap. RELEASE sets top-of-heap pointer to HEAPPTR.
This procedure generates a HALT opcode that, when executed, causes a non-fatal run-time error to occur. At this point in execution, the Debugger is invoked, therefore, if the Debugger is not in core when this occurs, a fatal run-time error, #114, will occur.
This procedure sends the cursor to the coordinates specified by (XCOORD, YCOORD). The upper left corner of the screen is assigned to be (0,0). This procedure is written to default to a Datamedia-type terminal. If your system uses other than a Datamedia or Terak 8510a, you will need to bind in a new GOTOXY using the GOTOXY package described in Section 4.7.
This function returns the number of words currently between the top-of-stack and top-of-heap. This can be interpreted as the amount of memory available at that time. One must take into consideration the size of evaluation stacks, and error-procedure calls.