How API Function Array Arguments Are Passed (103585)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 3.0
  • Microsoft FoxPro for MS-DOS 2.0
  • Microsoft FoxPro for MS-DOS 2.5
  • Microsoft FoxPro for MS-DOS 2.5a
  • Microsoft FoxPro for Windows 2.5
  • Microsoft FoxPro for Windows 2.5a
  • Microsoft FoxPro Library Construction Kit for MS-DOS 2.5

This article was previously published under Q103585

SUMMARY

Individual array elements are always passed to application programming interface (API) functions by value. When SET("UDFPARMS") == "VALUE" and no element is specified, the array name by itself refers to just the first element of the array (unless the array name is prefixed with "@", in which case the array is passed by reference).

Modification Type:MajorLast Reviewed:12/3/2003
Keywords:KB103585