[REBOL] logical value referencing ... Re:(3)

1999-12-16 Thread icimjs
Hi -jn- At 11:32 AM 12/15/99 -0600, you wrote: BORING PREFACE: Perhaps I should clarify my purpose. My 25+ year career in computing (including 12 years teaching math and computing science) has routinely [snip] With all due respect ... ;-) ACTUAL REPLY: [EMAIL PROTECTED] wrote: ... I

[REBOL] logical value referencing ... Re:(6)

1999-12-16 Thread icimjs
Hi Ingo, without wanting to sway opinions one way or the other. You wrote: Thus insert? / tail? would work on the series at the variables index, empty? / append would work on the series at a whole. That seems consistent to me, not to words, that seem to mean different things (empty?/tail?)

[REBOL] multisession.r and connection closure ....

1999-12-16 Thread Petr . Krenzelok
Hi, yesterday we've tried multisession.r script found at rebol.org together with my friends. The problem is, after trying to connect from some domain, script disconnected even my local running telnet sessions. The script can be found at http://www.rebol.org/advanced/multisession.r site I

[REBOL] logical value referencing ... Re:(4)

1999-12-16 Thread news . ted
So, to reflect conceptually, " ... the block exists on its own, and [the variable] simply refers to [a position] of the block." And as Elan pointed out, a series (which is also a block) can be represented, for discussion purposes, like this: series: use [current-position] [

[REBOL] logical value referencing ... Re:(5)

1999-12-16 Thread lmecir
On 12/16/1999 at 12:17 AM [EMAIL PROTECTED] wrote: [...] On the other hand, I prefer to keep the vocabulary needed to describe REBOL to a minimum. I also like to exploit the similarity of principles, to keep the volume of information needed to reason about REBOL to a minimum. If we just

[REBOL] Passing by reference

1999-12-16 Thread rpb
Passing by reference Hi, I have a quick question. How can I pass a variable to a function by reference (as opposed to by value) in Rebol? I have tried fiddling with "to-set-word", literal words, etc., but to no avail. I am probably missing something obvious. As a quick example, how could I

[REBOL] Re: Passing by reference

1999-12-16 Thread anton_rolls
Hello [EMAIL PROTECTED], Passing by reference a: 0 ; 0 b: 'a ; a to-set-word b ; a: to-set-word b 1 ; 1 a ; 0 so what is the point of to-set-word if I can then not use it to set the thing? Do I need an extra block and a "do" or

[REBOL] logical value referencing ... Re:

1999-12-16 Thread KGD03011
Elan writes: Regarding the any-string! problem: REBOL's error message is incorrect, since make does support datatypes. Any-type! should not be categorized by type? as being of type datatype! (which is the reason for the erroneous error message): type? string! == datatype! s: make string! ""

[REBOL] logical value referencing ... Re:(4)

1999-12-16 Thread joel . neely
Elan raised several interesting points. To minimize message size, I'll split up my part of the conversation. [EMAIL PROTECTED] wrote: ... Sure you can use make on datatype! values. It's just any-string! is not a datatype! value. The interpreter thinks that it is. help datatype?

[REBOL] Passing by reference Re:(3)

1999-12-16 Thread lmecir
Hi Anton, Hmmm. So why doesn't: to-set-word b 1 work then? What is the difference when you assign "to-set-word b" to another word (c) and then use c? Why does your method work whereas mine doesn't? look at this code (you can copy it to Rebol): a: 0 b: 'a c: to-set-word 'a

[REBOL] Passing by reference Re:

1999-12-16 Thread dankelg8
On Thu, 16 Dec 1999 [EMAIL PROTECTED] wrote: Passing by reference [..snip..] inc: func [i] [i: i + 1] j: 0 inc j print j 0 Try inc: func ['i] [set i (get i) + 1] Gisle

[REBOL] Passing by reference Re:(3)

1999-12-16 Thread cmahnken
Perhaps this will make more sense to you: a: 0 == 0 b: to-set-word 'a == a: ; Note the ":" b 1 == 1 a == 1 On Thu, 16 Dec 1999 15:39:51 +, [EMAIL PROTECTED] wrote: Hi Anton, Hmmm. So why doesn't: to-set-word b 1 work then? What is the difference when you

[REBOL] Performance Evaluation Summaries

1999-12-16 Thread joel . neely
A collegue gave me the list below. It was too good not to share. (Especially if you've ever had to deal with employees, customers, students, ... Have I managed to offend everyone yet?) -jn- === Performance Evaluation

[REBOL] logical value referencing ... Re:(4)

1999-12-16 Thread joel . neely
Another fragment in the continuing dialogue. [EMAIL PROTECTED] wrote: My problem with what you are doing here is not so much where you are heading. It is the reason you give for heading there. You see, you formulate two different things, 1. inserting a value into a series and 2.

[REBOL] logical value referencing ... Re:(4)

1999-12-16 Thread joel . neely
[EMAIL PROTECTED] wrote: Based on the above, we can say that 1. A series IS a data storage into which we may insert data. 2. A series HAS a current position at which the data storage is accessed In THEORY, a series is a data storage and a "current position" within that storage. In

[REBOL] logical value referencing ... Re:(6)

1999-12-16 Thread rryost
See below: Russell [EMAIL PROTECTED] - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 16, 1999 6:17 AM Subject: [REBOL] "logical" value referencing ... Re:(5) On 12/16/1999 at 12:17 AM [EMAIL PROTECTED] wrote: [...] On the other hand, I

[REBOL] logical value referencing ... Re:(5)

1999-12-16 Thread icimjs
Hi Joel, you wrote: a: next "123456" b: next next a I suggest that there are three entities of interest: i) one which we get at via the variable 'a ii) one which we get at via the variable 'b iii) one which we can't get (directly) but which corresponds to a copy of the literal

[REBOL] Passing by reference Re:

1999-12-16 Thread erin
This sort of thing is discussed some in the new user's guide: http://www.rebol.com/manual/expfunctions.html under the section: "Controlling Argument Evaluation" Cheerfulness, -EAT [EMAIL PROTECTED] wrote: Passing by reference Hi,

[REBOL] Passing by reference Re:

1999-12-16 Thread brian . hawley
Passing by reference Hi, I have a quick question. How can I pass a variable to a function by reference (as opposed to by value) in Rebol? I have tried fiddling with "to-set-word", literal words, etc., but to no avail. I am probably missing something obvious. As a quick example, how could I

[REBOL] Passing by reference Re:(4)

1999-12-16 Thread rryost
How about this for a simple approach? Simply respect REBOL's insistence on passing by value and work with it; inc: func[x][x + 1] a: 0== 0 a: inc a ; all one has to do is insert a: , not even one extra line of code!== 1 a== 1 ; a has beenincremented as intended and the script is much

[REBOL] logical value referencing ... Re:(2)

1999-12-16 Thread icimjs
Hi Eric, you wrote interesting stuff: If you ask REBOL, any-string! is a datatype! value. datatype? any-type! == true This works better (for this particular example ;-): datatype? any-string! == true That's the problem. type? any-string! indeed returns datatype! However, any-string! is not