Next: 8.6 DO loops (DO/ENDDO) Up: 8 PROGRAM CONTROL Previous: 8.4 Including secondary input


8.5 Allocating dynamic memory (MEMORY)

MEMORY,n,scale;

Sets the limit on dynamic memory to $n$ floating point words. If scale is given as K, $n$ is multiplied by 1000; if scale is M, $n$ is multiplied by 1 000 000.

Note: The MEMORY card must precede all FILE cards!

Examples:

MEMORY,90000
allocates 90 000 words of memory
MEMORY,500,K
allocates 500 000 words of memory
MEMORY,2,M
allocates 2 000 000 words of memory



P.J. Knowles and H.-J. Werner
molpro@tc.bham.ac.uk
Jan 15, 2002