vararraycreate

16 views
Skip to first unread message

Fábio Vargas

unread,
Jun 10, 2009, 7:40:34 AM6/10/09
to SolidWorks-API
Morning friends from the group, must convert a old code create in
delphi ide to vb.net with the Solidworks api, but i'm finding
difficulties to understand as replace a vararraycreate to vb.net. Can
us help-me?
Thanks.

Corey Scheich

unread,
Jun 14, 2009, 12:33:28 AM6/14/09
to solidwo...@googlegroups.com

in vb.net Arrays are created in a number of ways

Dim MyArray(2,2) as string 'creates a 3 x 3 zero based array of type string
Dim MyArray() as string 'creates an unbound array that will be bound when filled by the return of a method
Dim MyArray as String() 'same as above

or you can late bind by just declaring

Dim MyArray as object 'this should be filled using the return of a method.


> Date: Wed, 10 Jun 2009 04:40:34 -0700
> Subject: vararraycreate
> From: fvarg...@ig.com.br
> To: SolidWo...@googlegroups.com

Lauren found her dream laptop. Find the PC that’s right for you.
Reply all
Reply to author
Forward
0 new messages