General information
Category:
Coding, syntax & commands
>DIMENSION myParams(4)
>myParams(1) = "0p0"
>myParams(2) = "0p0"
>myParams(3) = "18p0"
>myParams(4) = "18p0"
>Then pass the address of the array to the routine.
>
>
>>I am converting a Visual Basic routine to VFP. I need to send four parameters to an object oriented application. The Visual Basic routine uses the ARRAY() command like this:
>>
>>myParams=ARRAY("0p0","0p0","18p0","18p0")
>>myTFrame.GeometricBounds=myParams
>>
>>When I use the DIMENSION command to create a 1 dimension array, and then populate the array with the values given above, the application chokes. Is there a way in VFP to mimic the ARRAY() command in VB?
>>
>>Thanks in advance...
>>
>>John Dennis
By "passing the address" do you mean passing the array by reference? I tried passing the array by reference and it was unsuccessful. This may be a job for a VB app.
Thanks for your assistance.
John Dennis
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only