array of variable size as function parameter

kschmid
✭
Whats the syntax to pass an array of variable size as function parameter?
Ah and is here a "size of" operator on an array?
0
Comments
-
Hello,You can write parameter like this:
PROC MyProc(string pstrArray{*})
And then get its size with:vnSize:=Dim(pstrArray,1);
☑️2024 - RobotStudio® User Group1
Categories
- All Categories
- 5.6K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 15 RobotApps
- 303 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 353 IRC5
- 74 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 850 RAPID Programming
- 25 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 110 Collaborative Robots
- 5 Job listings