Arrays in capl scripting

Status
Not open for further replies.

spyder123

Newbie level 1
Joined
Mar 17, 2015
Messages
0
Helped
0
Reputation
0
Reaction score
0
Trophy points
0
Visit site
Activity points
7
Hello,


Just started working with capl scripting in canoe.


here is my question:
I have 25 Environment variables, can i create an array in capl ..... to make it easier to access them??

Is it possible to have an array of Ev's??

i'm getting errors when i do this:

a[25] = { Ev_1, Ev_2, .....EV_25};

any solution????


Thanks in advance...
-Sam
 

hi SAM,

what is the data type of this array. As far as I know CAPL , you cant define just a[25] ={somevalues, some values, E_25};
Please correct me IF I am wrong.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…