Hello [EMAIL PROTECTED]!

On 22-Gen-00, you wrote:

 P> But it doesn't :-) I followed example from REBOL/Apache:

 P> install: func ['name body][set in self name func [] bind body
 P> 'self ]

 P> Now I am confused, if REBOL/Apache module uses different kind
 P> of object behavior or I am confused here.

I think 'install assumes that 'name is defined in the object.

Anyway, I'd suggest using a block for "site", instead of an
object. Something like this:

site: [
    page1 [title etc.]
    page2 [title etc.]
    page3 [and so on]
]

You can access pages with:

site/page1

And save/load it to disk:

save %file site

site: load %file

Regards,
    Gabriele.
-- 
o--------------------) .-^-. (----------------------------------o
| Gabriele Santilli / /_/_\_\ \ Amiga Group Italia --- L'Aquila |
| GIESSE on IRC     \ \-\_/-/ /  http://www.amyresource.it/AGI/ |
o--------------------) `-v-' (----------------------------------o

Reply via email to