Search found 1 match

by Coxebo
Nov 19, 2019 18:08
Forum: DOS
Topic: Array Descriptor
Replies: 11
Views: 8951

Re: Array Descriptor

Okay folks, here's how I got to the array descriptor of a QBasic array. Unsurprisingly it uses the same format as QuickBasic. FUNCTION ArrPtr& (X() AS STRING) DEF SEG = VARSEG(ArrPtr&) ArrPtr& = PEEK(VARPTR(ArrPtr&) + 15) * 256& + PEEK(VARPTR(ArrPtr&) + 14) + VARSEG(ArrPtr&am...