GDSX (Extended General Device Support) Manual

Service Routines
Extended General Device Support (GDSX) Manual529931-001
8-13
BIT^RESET
index returned value
INT:value
is the index value for the first available bit (equal to 0) that is in the specified range.
table input
is a pointer to the bit map table.
minimum input
INT:value
is the index for the first bit in the range to be tested. This parameter must be
greater than or equal to 0.
maximum input
INT:value
is the index for the last bit in the range to be tested. This variable must be less
than 32,768.
Example
See USER^STOP on page 9-23 for an example using the BIT^TEST procedure.
BIT^RESET
This procedure resets to 0 the ith bit of a bit map table in either global or extended
memory.
table input
is a pointer to the bit map table.
INT:ref (Use for global memory reference.)
INT .EXT:ref (Use for extended memory reference.)
Caution. You must not reset TSCODE-defined map bits.
CALL BIT^RESET ( table !
i
,index ); !
i
INT:ref (Use for global memory reference.)
INT .EXT:ref (Use for extended memory reference.)