- COPY TO ARRAY command returns a VO ARRAY, not a FoxArray
That's because DbCopyToArray() returns an ARRAY, maybe a new function should be implemented in XSharp.VFP returning a FoxArray?
- COPY TO ARRAY myarr requires that myarr is already defined, otherwise results to a runtime error that the variable does not exist. VFP does not require the array to already exist.
Maybe we should adjust the command to first check if the array exists and if not declare it as a memvar?
That's because DbCopyToArray() returns an ARRAY, maybe a new function should be implemented in XSharp.VFP returning a FoxArray?
Maybe we should adjust the command to first check if the array exists and if not declare it as a memvar?