Determine the amount of conventional memory installed
FT_SYSMEM() -> nMemSize
A numeric corresponding to the number of K memory.
FT_SYSMEM() simply reports the amount of conventional memory
(up to 640K) installed.
FT_SYSMEM() uses DOS interrupt 12h to get this information.
For information, refer to Peter Norton's _Programmer's Guide
to the IBM PC_ (Brady).
QOut( "Conventional memory installed: " + Str( FT_SYSMEM() ) + "K" )
Author: Glenn Scott
PCs has a 640 KB memory limit and Clipper programmers was must struggled with errors such as Memory overflow, Conventional memory exhausted, Stack overflow and so on…
This article mainly focused on this subject.
In our modern era we haven’t such problems, because we have gigabytes of memory installed in our computers. Morever OS’s offers to us immense memory management possibilities transparent to us. Like we have unlimited memory to use.
But nothing can be unlimited …
This article of Roger Donnay has very useful info about efficient ways to using memory; and especially variable handling.