Getting Started 21 There are three ways to eliminate the ICOM region - • Execute SCRATCH A • Execute ICOM a in a program. • Turn off the machine. After any of these actions, the region is no longer in existence. If there are any modules in the region, they disappear as well. If any of those modules contain an active interrupt service routine, you get an error (number 193) if you try to eliminate the region using ICOM O. If any of your routines provided to other users contain active ISRs, your documentation for the routine should warn the users of that fact so they can avoid this error. The ICOM a procedure can be used to assure that all previous modules are deleted.
For example, the following sequence - assures that an ICOM region of 2 000 words is in existence at the running of the program, and one completely clear of any previously loaded modules. the region from the moment of running the program. If the size being requested i,s larger than When you are altering the size of the ICOM region, the new size specified becomes the size of that which already exists, the additional space needed is requested from the operating system. If the space is available, everything proceeds uneventfully. If the space is not available, an error (number 2) results. To make the space available, one of the following procedures must be followed - • Execute SCRATCH A.
• Execute SCRATCH C. Each procedure has its separate effects, and the course selected should be determined by your circumstances at the time. Consult the Operating and Programming Manual for details on the other effects of each of these commands.