1. wxEuphoria fancy function names

I'm trying to sort wxEuphoria routines by category.

I found two functions which have fancy, probably wrong, names:

  • procedure set_font_familty( atom font, atom family )
  • procedure auotosize_row( atom grid, atom row )

Jean-Marc

new topic     » topic index » view message » categorize

2. Re: wxEuphoria fancy function names

jmduro said...

I'm trying to sort wxEuphoria routines by category.

I found two functions which have fancy, probably wrong, names:

  • procedure set_font_familty( atom font, atom family )
  • procedure auotosize_row( atom grid, atom row )

Jean-Marc

procedure set_font_family( atom font, atom family )  -- Remove the "t" in "familty" 
-- It is a working procedure. 
procedure autosize_row( atom grid, atom row ) -- Remove the extra "o" in "auotosize"  
-- It is a working procedure. The "grid" argument is a constant you assigned to the grid you created. 
-- The row argument is the row number, zero index. 

Perhaps you were only drawing the attention to mis-spelt function name. Anyway, I am using them and they work.

new topic     » goto parent     » topic index » view message » categorize

3. Re: wxEuphoria fancy function names

Sure, I did.

When you learn a new library, it is already difficult to find the correct functions do do what you want to achieve. With mis-spelled functions, it is even harder and debugging is also more difficult.

If it can help improve the library, I prefer to report problems I encounter.

new topic     » goto parent     » topic index » view message » categorize

4. Re: wxEuphoria fancy function names

jmduro said...

Sure, I did.

When you learn a new library, it is already difficult to find the correct functions do do what you want to achieve. With mis-spelled functions, it is even harder and debugging is also more difficult.

If it can help improve the library, I prefer to report problems I encounter.

Maybe not "broken" but for sure busted.

I created ticket #924 wxEuphoria -- identifier names

This is a mild mis-use of the ticket system, but user interfaces are important. The ticket should serve to remind us to have external libraries updated.

_tom

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu