Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.

Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.

We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.

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);



    ☑️2024 - RobotStudio® User Group