[fpc-devel] space char inside identifier's name

Michael Van Canneyt michael at freepascal.org
Sat Mar 25 13:43:32 CET 2006



On Sat, 25 Mar 2006, Bisma Jayadi wrote:

> > I cannot imagine situations where it would be required or demanded
> > (maybe desirable, but I don't so). In what cases would it be required or
> > demanded?
>
> Say I'm gonna make some kind of game maker application, where user can create
> game objects. It sure the game objects need name as their identifier. For ease
> of use, I can make object's name more space-char-friendly because the user of
> the application is not always a programmer (they even can't understand why an
> object's name can't accept space char).

In that case code a 'Name' property. The class will have a reagular identifier,
but the name property can contain anything you need.

Michael.



More information about the fpc-devel mailing list