Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: acodered on April 10, 2013, 08:15:10 AM

Title: VB assigning arrays
Post by: acodered on April 10, 2013, 08:15:10 AM
Is there any way to assign values to array at once? I read all VBScript_Commands.pdf and can't get any clues.
There is a code I written and it didn't work:
Code: [Select]
Static bb(1 To 2) As Integer
bb = 5,6   '//surely bb(1)=5 works
SetUserDRO(1300, bb(1))
I need to pack a bunch of predefined values into screenset. Is there a way to avoid loading these values from file and parsing it?
Thanks in advance.