RobotStudio event

array of variable size as function parameter

kschmid
kschmid
edited July 2019 in RAPID Programming
Whats the syntax to pass an array of variable size as function parameter?
Ah and is here a "size of" operator on an array?

Comments

  • DenisFR
    DenisFR ✭✭✭
    Hello,
    You can write parameter like this:
    PROC MyProc(string pstrArray{*})
    And then get its size with:
    vnSize:=Dim(pstrArray,1);