PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: object name limitation  (Read 509 times)

Haakon Birkeland

  • Guest
object name limitation
« on: April 07, 2004, 10:42:47 PM »

Are there any technical/good reasons to why you have chosen to not allow underscores in the object names? ('Not a legal name').
It's not a problem with PB as I've used it all the time to name the darn number %equates..

And I, for one, have always prefered fx. frm_Main over frmMain as it makes the names (and object types) even more quickly readable.

So if possible, - wishlist item..   :D
Logged

TechSupport

  • Guest
object name limitation
« Reply #1 on: April 09, 2004, 01:23:18 PM »

This was one of those design decisions that was important in order to facilitate the way way that FireFly names its message functions. eg: FORM1_TEXTBOX1_WM_COMMAND

Will the restriction be lifted? Not at this point. Maybe in the future if the internal parser gets updated then maybe I'll be able to lift the restriction.

Sorry that it impacts your coding style. You can still use it for variables and equates, just not as name properties of objects.
Logged