hard space in names of objects?

Jeanne A. E. DeVoto revolution at jaedworks.com
Wed Aug 17 01:30:08 EDT 2005


At 11:01 PM -0700 8/15/2005, Erik Hansen wrote:
>a non-breaking space sounds like an
>invisible underline. i remember a discussion
>at Monterrey on underlines in names of objects
>btw black belt practitioners Gaskin and Rossi.
>no food was thrown and the trade-offs seemed
>about even. the big disadvantege of underlines
>was not being able to double-click on the name
>to select it.
>
>assuming you script set the title with
>numToChar() for the break, would there be
>any problems btw systems, versions, and who
>knows what?

Hmm. I don't think I'd recommend it - it's an allowed character, but 
as a high-ASCII character, its charToNum value differs between Mac 
and Windows (and unlike fields, object names don't get automatically 
converted) so I suspect it might cause trouble cross-platform.

I use spaces all the time in object names, but pretty much never use 
high-bit characters. The potential for confusion wiith cross-platform 
work just seems too great.
-- 
jeanne a. e. devoto ~ revolution at jaedworks.com
http://www.jaedworks.com



More information about the use-livecode mailing list