DECLARE INTEGER SomeFunc IN somedll.dll INTEGER @ nArraySize LOCAL lnSize lnSize = 0 lnPointer = SomeFunc(@lnSize) FOR xj = 1 TO lnSize ? "Item", xj, SYS(2600,lnPointer) lnPointer = lnPointer + 4 && + sizeof(char*) ENDFORif this is not what you meant, you may point me to the API function that you wanna use so i can have a look at it and give you a more precise answer.