I have been using a TCP logging server for some stuff
here at work for a couple of months now. Works fine with
the latest Core experimental. It just waits for line data
from a client and displays it when received (code below).
Now I want to change to UDP instead of TCP. Unfortunately
it doesn'
Another big problem I see with the automatic update approach
(whether the software in question has built-in expiration or not)
is that the developer may be left out of the loop for testing the
new version. Thus it is very possible that even if the updating
worked flawlessly, a new bug will have c
---Original Message-
From: Bard & Michal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 16, 2000 8:57 PM
To: [EMAIL PROTECTED]
Subject: [REBOL] Re: Counting chars (was Simple things should be simple
to do ?)
Could you post that map thingie? Just out of curiosity? Your solu
It's really the hash that makes it easy. I have an
associative array (that I call a map - much easier to type)
that I use all the time. Given my map, my count routine
becomes:
s: "sdfsdfsdfsdfsdfsd"
m: make map! []
foreach c s [
m/set c ((to-integer m/get c) + 1)
]
repeat i m/length?
Thanks a lot Joel, Larry (and Gabriele!).
Excuse me for being obtuse here but I'm having a little
trouble understanding it what is going on.
The help for 'any says "evaluates and returns the first
value that is not false or none". But this means
that the if statements (if one [print "1"]) must
When I access a value in a block via a path, the
value seems right but the type does not.
>> m: [b false]
== [b false]
>> probe m/b
false
== false
Looks ok so far, BUT
>> type? m/b
== word!
which means that things like this don't work:
>> if m/b [print "what?"]
what?
>>
Is there a way to mak
Given three mutually exclusive refinements in a function
(or just three words in a script), what is the best way
to perform the conditional?
one: false
two: false
three: true
Of course we can do:
either one [print "1"] [either two [print "2"][print "3"]]
but this gets ugly for more than three
I'm curious as to what you guys are doing here. I don't believe
there is Rebol support for any of the OS's mentioned so that must
mean you are interested only in Rebol on the "server" side where your
device is communicating with a Rebol app on the network?
Anyway, my last company used SMX (their
Using /Core 2.3.0.3.1 (NT4):
I want a simple server that just retrieves lines from client and displays
them.
Here is what I have open in one Rebol session:
server-port: open/lines/direct tcp://:5599
forever [
cp: first wait server-port
forever [
d: wait cp
if error? try [
Ole,
I believe you are thinking the same way I did which is incorrect.
The functions are duplicated as evidenced by a response that Elan
sent about this very question a few weeks back. Here it is:
--- from [EMAIL PROTECTED] --
Hi Rodney,
I believe REBOL makes a new copy of functions f
10 matches
Mail list logo