GDSX Manual
Service Routines
Extended General Device Support (GDSX) Manual–134303
8-14
BIT^SET
BIT^SET
This procedure sets to 1 the ith bit of a bit map table in either global or extended 
memory. 
table input 
is a pointer to the bit map table.  
index input
INT:value
is the index for the bit to be set to 1 (not available). The range for this parameter is 
specified by: 0 <= index < 32, 768.
BIT^TEST
This procedure tests whether the ith bit is set in a bit map table in either global or 
extended memory.  
result returned value
INT:value
is one of the following values: 
Caution. You must not reset TSCODE-defined map bits.
CALL BIT^SET ( table ! 
i
 ,index ); ! 
i
INT:ref (Use for global memory reference.)
INT .EXT:ref (Use for extended memory reference.)
result := BIT^TEST ( table ! 
i
 ,index ); ! 
i
-1 The bit indexed by index is 1 (ON)
0 The bit indexed by index is 0 (OFF)










