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 <[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