create [port] delete [port] open [port /new /read /write /seek /allow] close [port] read [port /part length /seek index /string /lines] write [port data /part length /seek index /append /allow access /lines] open? [port] query [port /mode field] modify [target field value] update [port] rename [port to]
Port actions can be used not only with port!s, but also with port specs (everything make port! accepts: url! block! object! word!) In this case, `make port!` will be called with the spec first, and then the corresponding actor is called with the freshly created port!.
"Series actions":
append at back change clear copy find empty? head head? index? insert length? next past? pick poke remove select skip tail tail? take
I think I also put that, or a slight variation of it, on the rebol.net Wiki once. Unfortunately that's still offline.
I'm looking forward to playing with OpenGL in R3 from Atronix. Will it be available soon? Will there be some rudimentary documentation?
Maarten
Andreas, thanks. That does help
Maarten
Anyone know how to use UDP on Rebol 3 (atronix version)?
Maarten
Or if it exists at all?
Pekr
I think it is non existent, but I could be wrong ....
Maarten
Does anyone have a working R3 RSA example? Between 'rsa and rsa-generate-key I seem to miss the functions that create the public/priv keys....
PeterWood
How do you run a Rebol 3 script from the DOS command line?
I tried with this simple script: Rebol [] print 1
The Rebol console flashes in the background and the DOS console shows only a blank line.
C:\Users\peter\Desktop>AtronixR3 test.r
C:\Users\peter\Desktop>
sqlab
Works under Linux
anton@sixpack ~/own/R3 $ ./r3 ../test/test.r 1
PeterWood
I think it's more general Windows/Rebol problem -- it' seems the same for Rebol 2.
Sunanda
The script is running: it prints 1 in the Rebol console, and then closes the Rebol console.
You need to put a HALT at the end of your script if you want the Rebol console to stay open at end of execution.....As far as I know, there is no other easy way of guaranteeing that.
PeterWood
Thanks Sunanda
Pekr
There is special release to have a true console. What R3 provided by default just looks like a DOS console, maybe even is, but that's not what you usually want. It was IIRC Earl, who provided true DOS console for R3. Obviously, no GUI available ....
Ladislav
Hi all! I wrote a https://github.com/rebol/rebol-issues/issues/2259 ticket explaining why EQUAL? should be transitive. I always thought that EQUAL? should be transitive, but these arguments may convince people who did not know them until now. Anybody wanting to discuss it?
The essence is as follows: ordering has to be transitive, otherwise you cannot obtain reasonable sorting results. Moreover, EQUAL? has to be a conjunction of two orderings: LESSER-OR-EQUAL? and GREATER-OR-EQUAL?, which, since both must be transitive, yields that EQUAL? must be transitive too.
Gregg
Your examples are clear and compelling Ladislav. Not sure how I'd argue with them, so I won't. :-)
Ladislav
So, do you think that the reasons to make EQUAL? transitive are compelling?