Re: Win4Eu: need synonym for 'get'

new topic     » goto parent     » topic index » view thread      » older message » newer message

> I'm looking for a (short) synonym for 'get', used as a function-name.
> In Win4Eu, you will be able to set properties of controls with the
> 'set'-procedure, like this:
> }}}
<eucode>
> win = create(Window, "win", {})
> set(win, "Text", "Title of the window")
> </eucode>
{{{

> Now I need to find a function-name to get the value of a property.
> I'd like to use 'get', like this:
> }}}
<eucode>
> size = get(win, "Size")
> </eucode>
{{{

> But, there already is a get-function in the standard library 'get.e'.
> So I need a synonym. I was thinking of 'take' or 'grab', but perhaps
> you guys (and girls) can find something better?

I personally like push and pull.  I think these are short enough
and to the point... same as set / get respectively.


Don Phillips - aka Graebel
     National Instruments
     mailto: eunexus @ yahoo.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu