Hi Carl,

On Saturday, September 7, 2002, 2:53:19 AM, you wrote:

CR> And a question for those others:  Does...

CR>     file: open/lines file-name

CR> load the whole file into memory anyway?

It  does, if you don't use /DIRECT. (Actually, in theory it should
only  load  a  portion  of  it, based on the amount of free memory
available;  i.e.  if  it  fits  into memory, it loads it entirely.
However, it always loaded the whole file into memory for me.)

You can check it by using:

>> file: open/lines/read %AUTOEXEC.BAT
>> file/state/inBuffer
== ["SET BLASTER=A220 I7 D1 H5 P330  T6" "SET CTSYN=C:\WINDOWS" 
"C:\PROGRA~1\CREATIVE\SBLIVE\DOSDRV\SBEINIT.COM" {mode con codepage...

Regards,
   Gabriele.
-- 
Gabriele Santilli <[EMAIL PROTECTED]>  --  REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to