Memory

Obsolete

This command is valid only in character-mode DataFlex. It has no real meaning in the Windows environment.

 

 

Purpose

To aid program development by outputting the amount of unused memory in the computer as the program runs.

Syntax

Memory {variable}

What It Does

Memory places the number of bytes of memory in the computer which is not being used at the time the command is executed in variable.

When a program runs out of memory at run time, it reports DataFlex Error 10 (Out of memory) and aborts the program. Memory commands at key points "upstream" of the point at which this happens can help you pinpoint what commands or errors are producing the excessive consumption of memory.

Because the Out of memory error is provided, displays of available memory are usually of little use or interest to operators of programs. Memory commands are typically removed from programs before they are released for general use.

Notes