Re: Bug in Euphoria?
- Posted by ghaberek (admin) Oct 19, 2021
- 952 views
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