Re: Anxiety over 4.0
Bernie Ryan wrote:
>
> Matt Lewis wrote:
> >
> > Yes, but how would you handle default parameters? In any case, the above
> > call would be:
> > }}}
<eucode>
> > myFrame = f("wxFrame", {0, "My Frame", -1, -1, -1, -1, 0})
> > </eucode>
{{{
> > Also, that's mainly for calling routines in a shared/dynamic library, isn't
> > it? In eu4.0, you can use default parameters calling native euphoria code.
> >
>
> Matt:
>
> That will not work in "C" because the last argument in a variable
> argument has to be a NULL and "C" would think your last argument
> ZERO was the null terminating and would leave you one argument short.
> Look up va_end in a "C" book.
Bernie, why are you talking about C? We're talking about *Euphoria* 4.0.
Matt
|
Not Categorized, Please Help
|
|