Topic : The GFA-Basic Compendium Author : GFA Systemtechnik GmbH Version : GFABasic.HYP v2.98 (12/31/2023) Subject : Documentation/Programming Nodes : 899 Index Size : 28056 HCP-Version : 3 Compiled on : Atari @charset : atarist @lang : @default : Document not found @help : Help @options : +g -i -s +z @width : 75 @hostname : STRNGSRV @hostname : CAB @hostname : HIGHWIRE @hostname : THING View Ref-FileThese functions give the addresses in the VDI Parameter Block, which are the addresses of the first bytes of the CONTRL, INTIN etc. arrays. The arrays can be accessed by placing an index value in brackets after the array name, for example CONTRL(2)=x& corresponds to DPOKE CONTRL+4,x& and x&=CONTRL(2) to x&=DPEEK(CONTRL+4). The other arrays are also organised in word format. The meanings are: CONTRL --> Address of the VDI control table INTIN --> Address of the VDI integer input table PTSIN --> Address of the VDI point coordinate input table INTOUT --> Address of the VDI integer output table PTSOUT --> Address of the VDI point coordinate output table These tables (2-byte word arrays) contain the parameters for VDI calls. Memo: These built in tables have the following limits: CONTRL(0-11) INTIN(0-127) PTSIN(0-31) <- Bug in the editor, should be 0-255 INTOUT(0-127) PTSOUT(0-255) This appears to be a 'worst case senerio', as newer VDI versions allow larger table sizes. If you exceed these values in a compiled program there is no error message, instead some memory location gets changed unexpectedly.