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

[REBOL] Re: [ Core ] Meaning of FLAGS?

From: g:santilli:tiscalinet:it at: 4-Apr-2002 11:09

Hi rebolinth, On Wednesday, April 03, 2002, 7:09:22 PM, you wrote: rndn> Can anyone explain me the meaning of "flags" within an opened port? They are mainly only useful if you are writing a port handler. rndn> And what is the bitmask meaning of the value? The most important ones are in:
>> print mold system/standard/port-flags
make object! [ direct: 524288 pass-thru: 4194304 open-append: 4 open-new: 8 ] A long time ago, while writing a port handler, I was using: modes: make object! [ read: 1 write: 2 new: 8 string: 16 binary: 32 lines: 64 wait: 2048 direct: 524288 ] HTH, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r