on Oct 3rd, 2012, 03:02am, PaoloR wrote:Presumably just a series of Basic statements in, ahem, unstructured fashion? |
|
Yes, that's what I mean. The sort of thing CALL filename is useful for is executing a file containing constant declarations, or structure declarations, or the like. That way it saves some memory since once the declarations have been made there's no need for the code to be 'resident' any more.
Quote:| Also, I assume that INSTALLing files loads them into memory at program commencement and leaves them there for the duration of the program run. Would this be a correct assumption? |
|
Yes. The libraries are loaded above HIMEM, and if there is (unusually) a requirement to discard them you can do it using this trick:
Code: HIMEM = HIMEM + 1
HIMEM = HIMEM - 1
CLEAR
Otherwise they remain resident until the program is next run.
Richard.