Next: 10.6 DO loops (DO/ENDDO)
Up: 10 PROGRAM CONTROL
Previous: 10.4 Including secondary input
10.5 Allocating dynamic memory (MEMORY)
MEMORY,n,scale;
Sets the limit on dynamic memory to floating point words. If scale is
given as K, is multiplied by 1000; if scale is M, 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
molpro@molpro.net
Oct 10, 2007