DIMENSION laArray[1] IF GetINIEntries(lcInitFile, lcSection, @laArray) ... got data from INI ELSE ... failed to get data ENDIFThen in the function, return .T. for success and .F. for failure; add the following line too:
EXTERNAL ARRAY laArrayafter the function header line. Now you are passing the array to the function via reference.