How to pass array arg to Function

Lin
✭
in RobotStudio
I have on array A{1,1,5}
I would like to pass this array as a argument to my function.
FUNC ..... Name(num b{1,1,7})
...........................
ENDFUNC
Is this possible? If you know the answer, please help me.
Thank you.
I would like to pass this array as a argument to my function.
FUNC ..... Name(num b{1,1,7})
...........................
ENDFUNC
Is this possible? If you know the answer, please help me.
Thank you.
Lingaa
0
Comments
-
hii not sure but tryFUNC ..... Name(num b{*,*,*})
...........................
ENDFUNC0 -
hi again
i found info in rapid overviewfor procedure
PROC arrmul( VAR num array{*}, num factor)
FOR index FROM 1 TO dim( array, 1 ) DO
array{index} := array{index} * factor;
ENDFOR
ENDPROC0
Categories
- All Categories
- 5.6K RobotStudio
- 401 UpFeed
- 20 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)
- 849 RAPID Programming
- 24 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 110 Collaborative Robots
- 5 Job listings