[REBOL] Re: REBOL Enhancement Proposals (REPs)
From: allenk:powerup:au at: 26-Sep-2001 18:05
Joel,
I would find that REP handy, particularly when dealing with REBOL/Command
and the blocks it returns . ["username" "userpass"]
e.g
config: context [user: pass: none offset: 0x0 color: grey]
insert db-port [{SELECT User, Pass FROM Clients WHERE ClientID = 3}]
set [config/user config/pass] pick db-port 1
This is more using the "c-struct" fashion as you mention, but when dealing
with a lot of fields, I will make less errors when dealing with named
elements from an object (or block) rather than trying to remember their
index numbers to pick them from a block.
Cheers,
Allen K
See some past REPs at http://www.rebolforces.com/archive/rep/