Re: This does not jive
- Posted by mattlewis (admin) Sep 01, 2012
- 2123 views
DonCole said...
I'm using euphoria ver.3 for this.
My code,
sequence rect rect={325,350,366,365} ?{WndMain,1}&rect&{5,5} junk={WndMain,1}&rect&{5,5} printf(1,"length(junk)=%d %s\n",{length(junk)}) drawRoundRect(junk)
I get:
{30,1,325,350,366,365,5,5}
length(junk)=8
(error)
drawRoundRect takes 8 arguments
drawRoundRect(junk)
This simply doesn't make any sense.
If you want to combine arguments into a sequence and call the procedure, you'll need to use routine_id() and call_proc().
Matt