Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Sort by first part of line

From: g:santilli:tiscalinet:it at: 7-Sep-2002 12:41

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 <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: