Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: REBOL Enhancement Proposals (REPs)

From: allenk:powerup:au at: 26-Sep-2001 21:49

----- Original Message ----- From: "Cal Dixon" <[deadzaphod--flyingparty--com]> To: <[rebol-list--rebol--com]> Sent: Wednesday, September 26, 2001 6:39 PM Subject: [REBOL] Re: REBOL Enhancement Proposals (REPs)
> > I would find that REP handy, particularly when dealing with
> > 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 > > what's wrong with > > set bind [ user pass ] in config 'self pick db-port 1
Thanks Cal, A solution to my problem (which I should have remembered), but seems a little verbose. Perhaps a general set-in or bind-with mezzanine could be added. (view has number of set- functions for setting word in sub-objects of a face easier, so a more general one wouldn't go a miss) Do you think the following change would have value? If IN could take either word! or a block of words. we could use set in aface/font [color size] [200.0.0 12] as well as the current singular usage set in aface/font 'color 200.0.0 Cheers, Allen K