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

>
> i am writing a programme that has mouse buttons in it, and the x and y
> co-ord's of the buttons are stored in the sequence mb like:
>
> mb = append(mb, {x1, y1, x2, y2, "button_name", button_signature}
>
> so when the user clicks the mouse, it quickly searches to see if that
> mouse click was in the area specified in mb[1] (or mb[whatever])
>
> that's all okay, BUT... if I try:
>
> mb = {}
>
> i get an error and it wont do it. Any ideas??
>
> Thanks :)
>
I'm not too sure why that is not working because you can append to the end
of a null sequence. You shouldn't get an error message just because it's
null. Include the contents of EX.ERR as an attachment to your next reply
and let us see.

Thanks

David Gay
http://www.interlog.com/~moggie/Euphoria
A Beginner's Guide To Euphoria

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

Search



Quick Links

User menu

Not signed in.

Misc Menu