Hi, I'm very new to REBOL and I have some questions.

How is data passed back and forth into and out of functions? Are copies made
when passing data in or are they passed 'by reference', or are sequences
passed by reference and values passed by value?

How would I construct a "seventh" word that would basically give me the
'second' of what would be given after I got the 'fifth' of a sequence?

Why was the design choice made to make all words sort of be in a global
scope, and then have to explicitly say 'use' to have local variables or
words, rather than just making any new words defined in a function be local
unless explicitly stated otherwise? This seems dangerous. At least Perl has
'use strict' to make you be careful with stuff like that.

Two other things. I'd really like to delve into the language to understand
how it works, but most of the examples and things seem to be focused on
simple tasks. For instance I'd like to read something about how objects are
implemented in REBOL. When I first encountered the description of objects in
the users guide I was struck by how simple the structure is, but I'd like to
know if and how REBOL handles the more complex tasks in OOP. I know REBOL
isn't an OO language, but I know that Mr. Sassenrath has a lot of experience
with OOP, and I'm sure he would have included everything he felt would have
added to the language. Also, I'm wondering if Mr. Sassenrath has had any
experience with Eiffel. So basically I'm interested in the theory behind
REBOL, so any informatoin or links to anything informative would be
appreciated. Thanks a lot. Also, please excuse any lapses in my thinking,
grammar, etc, since it's about 9:00AM, and I haven't really slept yet.

Keith

Reply via email to