RobotStudio event

How To call a process like this PROC(num Position,INOUT string Name)

Options
reyang
reyang
edited July 2017 in RobotStudio
Hello
How can I call a PROC with (num position, INPUT string name)?

Original question:
Hallo
wie kann ich ein PROC mit (num Position,INOUT string Name) aufrufen?


Post edited by OskarHenriksson on
Tagged:

Comments

  • reyang said:
    Hallo
    wie kann ich ein PROC mit (num Position,INOUT string Name) aufrufen?
    Hi Reyang
    To call a PROC with multiple input arguments, requires you to remove the parentheses like this:
        
        PERS string name;
    
        PROC main()
            Compute 1, name;
        ENDPROC
        
        PROC Compute(num pos,INOUT string name)
        ENDPROC
    
    <br>
     Please see the RAPID overivew manual page 1.1.5: http://cdn.robotstudio.com/documentation/17.1/en/page7-2.html.

    /Oskar