Re: we need official libs : Swap

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

It was a dark and stormy night at about Thu, 22 Jul 1999, when Lucius L. Hilley
III wrote:
> Yeah, and we can write wrappers for functions like get_position().
> But this only sounds like a hack for the problems we currently face.
>
>
> global function get_position_x()
>   sequence temp
>
>   temp = get_position()
>   return temp[1]
> end function
>
There are a few things in Euphoria that lack - symetry -
one of them is position(x,y), requiring two arguments, and
get_position() which returns a sequence. So you can't say:

old_loc = get_position()
do-something.. that moves the cursor.....
position(old_loc)

Strange, no?

Irv

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

Search



Quick Links

User menu

Not signed in.

Misc Menu