Newbie questions
Why would you want to seperate routines into different Modules? Why not have all routines in one?
What is the difference between Program and System modules?
How important is the routine order in a module?
0
Comments
-
1. Program modularity. It is much easier to maintain code that is grouped into logical containers rather than sorting through thousands of lines of code to find one routine or function.2. Program modules are part of a program that can be loaded and unloaded at runtime, system modules are part of the system and can only be deleted or added manually. There are also additional attributes that can be used to configure system modules to hide them, make them read-only, etc.3. Routines can be declared in any order. The only items that are order sensitive is record declarations and module level data declarations. These must be declared at the top of the module file before routine declarations, and record types have to be declared before data instances.RussD2009-02-10 19:24:10Russell Drown0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings