Array containing Variables


Recommended Posts

Guru,

I want to create an array using global variables that have already be declared equalling 0 in my DocLoad sequence, and these variables are called out in the sequence I'm working in, like this:

global A

global B

global C

Why, when I do:

private array = {A,B,C}

do I get the C1072 Invalid {} pairing error? You can't make arrays using variables?

I'm trying to use FindValue or Search functions to locate the index of one of those variables when it goes to 1:

FindValue(array,1)

or

Search(array == 1)

Mike

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.