SPLat Logo

defTIME24 Directive

NOTICE: Our web site is being updated, but is currently experiencing extreme slowness due to host issues. Please contact us directly.
NOTICE: SPLat Controls has moved. We are now at 1/85 Brunel Rd, Seaford, 3198. map
SPLat will be shut down for the Christmas Holiday season from Friday 20 December 2024 through Tuesday 7 January 2025. We will check emails periodically and will continue to process orders but at a slower pace. Santa hat

defTIME24 Directive

The defTIME24 directive directs SPLat/PC to assign a value to a label and reserve a nominated amount of RAM to hold the data associated with that label. It is part of the Automatic RAM Allocation scheme introduced in SPLat/PC V7.15.2 (May2005).

Syntax:

Label     defTIME24      {Value}

Label is a line label. Value is an optional numeric constant. If not used Value defaults to 1. Typically you would specify Value if you intend to access an array of data using indexed or jndexed addressing.

This will automatically allocate 3x Value bytes (24 bits) of RAM and assign the address of the first byte to Label.

An error will be raised if SPLat/PC is unable to find enough free RAM.