Newbie questions
Options
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.4K RobotStudio
- 382 UpFeed
- 14 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 281 IRC5
- 48 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 739 RAPID Programming
- 16 Wizard Easy Programming
- 105 Collaborative Robots
- 3 Job listings