Go to the Next or Previous section, the Detailed Contents, or the Amiga E Encyclopedia.


A.5 Freeing Resources

Unlike a Unix operating system, the Amiga operating system requires the programmer to release or free any resources used by a program. In practice, this means that all windows, screens, libraries, etc., that are successfully opened must be closed before the program terminates. Amiga E provides some help, though: the four most commonly used libraries (Dos, Exec, Graphics and Intuition) are opened before the start of an E program and closed at the end (or when CleanUp is called). Also, memory allocated using any of List, String, New, NEW, NewR, NewM and FastNew is automatically freed at the end of a program.


Go to the Next or Previous section, the Detailed Contents, or the Amiga E Encyclopedia.