Skip to content

[VFP] COPY TO ARRAY command issues #1857

@cpyrgas

Description

@cpyrgas
  1. 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?

  1. 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?

Metadata

Metadata

Assignees

Labels

FoxProFoxPro dialectRuntimeUDCUser Defined Commands

Type

Projects

Status

Needs testing

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions