[REBOL] UPD Logging Server

2000-12-12 Thread Rodney Snell
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'

[REBOL] Re: REBOL/View for commercial products

2000-12-05 Thread Rodney Snell
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

[REBOL] Re: Counting chars (was Simple things should be simple to do ?)

2000-11-17 Thread Rodney Snell
---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

[REBOL] Re: Counting chars (was Simple things should be simple to do ?)

2000-11-16 Thread Rodney Snell
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?

[REBOL] Re: Multiple Word Conditional?

2000-11-16 Thread Rodney Snell
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

[REBOL] Path Access Problem

2000-11-16 Thread Rodney Snell
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

[REBOL] Multiple Word Conditional?

2000-11-16 Thread Rodney Snell
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

[REBOL] Re: emware

2000-11-03 Thread Rodney Snell
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

[REBOL] Network Port Problem

2000-10-27 Thread Rodney Snell
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 [

[REBOL] Re: objects without overhead

2000-10-19 Thread Rodney Snell
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