Hello Guest it is March 28, 2024, 06:04:21 AM

Author Topic: VB assigning arrays  (Read 2318 times)

0 Members and 1 Guest are viewing this topic.

VB assigning arrays
« 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.