how to define this (dim x[10] as integer) at intouch

You can only dimension local variables in intouch for use within scripts.
Intouch does not support arrays, so if you are trying to declare 10 integers x1 .. x10 you would have to do it long hand
DIM X1 AS INTEGER;
DIM X2 AS INTEGER;
{..etc}
DIM X10 AS INTEGER;

If you are not trying to declare an array then change the variable name as [ or ] are not valid characters.

HTH
 
You can only dimension local variables in intouch for use within scripts.
Intouch does not support arrays, so if you are trying to declare 10 integers x1 .. x10 you would have to do it long hand
DIM X1 AS INTEGER;
DIM X2 AS INTEGER;
{..etc}
DIM X10 AS INTEGER;

If you are not trying to declare an array then change the variable name as [ or ] are not valid characters.

HTH
Thank you for your interest.

Ok. :) but these aren't array . I think I can use indirect integer to solve my problem.
 
Last edited:

Similar Topics

hello dear forum, About DELTA DIAView SCADA I defined a variable in Timescript VBscript I want access this variable from within a window For...
Replies
0
Views
598
Hello PLCS.Net! I have the EDS Hardware Installation Tool installed on my PC. When I try to install a file, It says it's successful, the...
Replies
2
Views
2,050
Hi all, I want access a Mitsubishi PLC Q series to SMC. I am using Archestra DASMTEthernet as my server in SMC to connect with PLC. After I...
Replies
0
Views
1,430
Hi, I was wondering if anybody can help me with this issue. I have *.cab backup created from a lower version (Dev Studio 2012R2) and I loaded it...
Replies
8
Views
5,385
Hi Guys, I searched throughout the forums but didnt find any information on this topic. I currently have an application that relies on macros...
Replies
0
Views
1,622
Back
Top Bottom