Hello Guest it is February 04, 2026, 02:53:32 PM

Author Topic: VB assigning arrays  (Read 5067 times)

0 Members and 1 Guest are viewing this topic.

VB assigning arrays
« on: April 10, 2013, 07: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.