RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
272
Ctrl Command get_list_space
Function returns the amount of free list memory, hence the number of list commands that can still
be loaded from the input pointer’s current position to the last position in the respective
list.
Call
ListSpace = get_list_space()
Result number of free list positions as an unsigned 32-bit value
Comments • If an indexed subroutine or indexed character set is currently being loaded into the
protected buffer area (“List 3”), then get_list_space returns the amount of still-avail-
able protected memory (otherwise the input pointer is not located in the protected
area).
RTC
®
4
RTC
®
5The command get_list_space was available on the RTC
®
3/RTC
®
4 to support their circular
queue mode and returned the distance between the input and output pointers. The RTC
®
5
doesn’t have a circular queue mode. The input pointer’s position can be queried via
get_input_pointer or get_list_pointer and the output pointer’s position can be queried
via get_status or get_out_pointer.
References get_input_pointer, get_status, get_out_pointer, get_list_pointer