Call procedure from another module
Options
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.4K RobotStudio
- 383 UpFeed
- 14 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 279 IRC5
- 46 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 733 RAPID Programming
- 15 Wizard Easy Programming
- 105 Collaborative Robots
- 3 Job listings