Please enable JavaScript to view this site.

A-Shell Development History

Navigation: Version 5.1/6.0, builds 1100-1271 > 1114 – 27 May 08

MEM: Device Enhancement

Scroll Prev Top Next More

The MEM: device, (as well as OPTIONS=AUTO_MEMOPEN), can now be used with sequential input files.  For example:

OPEN #1, "MEM:MYFILE.TXT", INPUT

The above statement would work if MYFILE.TXT was loaded into the user memory (using LOAD MYFILE.TXT).

OPEN #1, "DSK1:MYFILE.TXT[123,456], INPUT

As with RANDOM files, if OPTIONS=AUTO_MEMOPEN, then the above OPEN  statement will first check user memory to see if MYFILE.TXT is loaded,  and if so, will use that copy directly.