RobotStudio event

How to pass array arg to Function

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.

Lingaa

Comments


  •  
    hi

     

    i not sure but try

              FUNC ..... Name(num b{*,*,*})
                            ...........................
              ENDFUNC
  •  hi again




    i found info in rapid overview
     

    for procedure

     


    PROC arrmul( VAR num array{*}, num factor)
    FOR index FROM 1 TO dim( array, 1 ) DO
    array{index} := array{index} * factor;
    ENDFOR
    ENDPROC