Passing Variables Dec 16, 2020 17:11:51 GMT -5 Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Walt Decker on Dec 16, 2020 17:11:51 GMT -5 1. Pass numeric variables by reference in CALLDLL2. Return a string from a DLL, e. g. CALLDLL, "s", T$ AS PTR, Ret$ AS CHAR3. Pass an element of an array in CALLDLL. e. g. CALLDLL, "s", A(1) AS LONG, RetVal B AS LONG4. Pass an array to in internal sub/function and a pointer to the first element of an array in a CALLDLL5. Pass a FLOAT to a DLL.6. Multi-dimensional arrays, e. g. DIM A(5, 3, 10, 4)7. Make STRUCT a template rather than a string of variables.