Call procedure from another module
How do I call a procedure in m1 from m2?
module m1
proc main()
load "c:/m2.prg";
%p:callme%;
endproc
proc yeah
...
end yeah
endmodule
module m2
proc callme()
...
yeah; !this does'nt work however
...
endproc
endmodule
0
Comments
-
Hello robotverkl,
try to change line : %p:callme%;
to : %"m2:callme"%;
with quotes.
must work !
Good luck.
0 -
Hi
I think m2 shoud be a .MOD file.
0
Categories
- All Categories
- 5.6K RobotStudio
- 398 UpFeed
- 20 Tutorials
- 14 RobotApps
- 300 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 336 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 828 RAPID Programming
- 12 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings