A string is a string is a string

Richard Gaskin ambassador at fourthworld.com
Sat Jan 19 21:11:55 EST 2013


Cal Horner wrote:

> Using "selectedObject" I've extracted the long ID and the object name from
> the selected object.
>
> The name comes through as object type and "Object Name".  So programatically
>  the code will know what kind of object I've selected and what it has been
> named when the time comes to use it. I strip word 1 (the object type) out of
> the returned selection info and place it into a variable. This is to be used
> to determine which object I want to work on. Then I strip what is left (the
> object name) out and place it into a variable.
>
> But when I try to access the object name variable the IDE says it can't find
> it.
>
> I've tried the object name variable with quotes around it and I've tried it
> without quotes. Still no luck.
>
> Any hints, ideas or solutions?

I don't believe it'll be possible to fully understand what you've 
encountered without seeing the code in question.

--
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  Follow me on Twitter:  http://twitter.com/FourthWorldSys




More information about the use-livecode mailing list