Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ARRAY() command in Visual Basic
Message
From
11/06/2001 19:05:09
 
 
To
11/06/2001 16:37:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00518091
Message ID:
00518140
Views:
13
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform