Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fill a Array

Status
Not open for further replies.

Daudi2010

Programmer
Nov 17, 2014
2
DE
Hello,

I need to fill an array with Name,X-Value and Y-Value.
In my Code I will get with strDevName the name, strSymx the x value and with strSymY the Y-Value.
There will be 13 names,x and Y values.

No I want to save them in an array. So that I will have something like a table Name| X | Y

How is this in Vbscript possible?


for each intSymId in intSymIds
E3Dev.SetId intSymId
strDevName = E3Dev.getname


If instr(strDevName,"-I") = 1 Then
E3Sym.SetID intSymId
E3Sym.GetSchemaLocation strSymX, strSymY, strSymGrid
End If
Next
 
I'd use a Dictionary object instead of an array.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
And how can I do this with a Dictionary Object? And is it possible to compate to Dictionary Objects and look for Parts with the same X Value and save them in a new Dictionary?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top