[REBOL] Re: Passing arguments to a function in another script
From: gregg:pointillistic at: 7-Feb-2008 11:21
BW> No, 'cos I was using Linux rather than Windows, and their ain't no Rebol
BW> console! For the same reason, I have to use "Alert" rather than "Print"
BW> for testing purposes.
Hmmm. I would think it should certainly warn you somehow. That's not
BW> Since I am starting my learning with Vid rather than Core, this probably
BW> encourages me to regard Core as a subset of Vid, which it is not. I
BW> would certainly be happier if it were! As you say, VID seems to
BW> understand Core in certain areas, but a noob doesn't know which ones!
Core is the REBOL language itself, View is the GUI system, and VID is
a dialect that is only available in View. Core is not a subset of VID,
you are correct, it's more like the other way around, but not exactly.
because dialects can use different syntax than plain
REBOL and are more specific in what they let you do.
If you read the View/VID docs, it should give you a good foundation.
You can't really separate thing entirely, because you can write
functions that are "plain REBOL" which operate on View/VID elements
(faces). Faces are just objects.
Starting with VID *can* be a little tricky at times, and there are a
number of subtleties that can trip you up or help you out (e.g.
knowing there is an implicit FACE value in the action block of a face).
Keeping code outside the LAYOUT is the right way to do things, it's
not a limitation. If you want to protect things in namespaces, use