On Thu, Apr 04, 2002 at 11:09:57AM +0200, Gabriele Santilli wrote:
> 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
> ]

Yes, and those are the only flags that can be publically
accessed, and only from a port handler, not from an
application. If you do access flags from a port handler then
always use the symbolic names, not the numbers, because they
tend to change between REBOL versions.

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

Those values are not correct any more. Don't use them.

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

Reply via email to