Re: question

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

Thanks Michael...my confusion. I have seen in other languages that the
unreferenced index is cycled over, so perhaps a better stated syntax could
be...

setEnable(b[ ][1],False)

notice the 1st argument is empty

...george
----- Original Message -----
From: <Sabal.Mike at notations.com>
To: "EUforum" <EUforum at topica.com>
Sent: Monday, August 20, 2001 2:25 PM
Subject: Re: question



This is the vertical slicing issue that many having been asking Rob to
include in a future version of Euphoria.  Remember that b[1] = {id1,1,2},
not {{id1},{id2},{id3}}.  Win32lib crashes because you're trying to set
something that can't be set.  However <hint>this kind of error should be
trapped and gently handled by the win32lib designers</hint>.

HTH,
Michael J. Sabal

>>> gwalters at sc.rr.com 08/20/01 02:06PM >>>

    b = {
            {id1,1,2},
            {id2,2,4},
            {id3,5,6}
           }

Here's the question

    if setEnable(a, False)        -- works ok and disables all the id's

Why would not

    setEnable(b[1],False)        -- won't work but win32 blows up

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

Search



Quick Links

User menu

Not signed in.

Misc Menu