Re: Bug in Euphoria?

new topic     » goto parent     » topic index » view thread      » older message » newer message
Thomas said...
manage(Win, LeftPane, w32Edge, w32Edge, {VSplit1, 0}, w32Edge,) /* Look like a bug */ 
manage(Win, RightPane, {VSplit1, 0}, w32Edge, w32Edge, w32Edge) 
manage_now(Win) 

Are you talking about the trailing comma there? There could be a default parameter value. Track down the declaration of manage() and see what parameters it takes.

You could also try adding a question mark ? after the comma, which is the explicit way of saying "please use the default value here." (Just using commas would be the "implicit" way.)

manage(Win, LeftPane, w32Edge, w32Edge, {VSplit1, 0}, w32Edge, ?) 

If this is a bug, then that should kick the interpreter into saying something like "procedure 'manage()' only accepts six parameters."

Also, which versions of Win32Lib and xControls are you using and where did you get them?

-Greg

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

Search



Quick Links

User menu

Not signed in.

Misc Menu