A string is a string is a string
slylabs13 at me.com
Sat Jan 19 20:30:05 EST 2013
Need examples. If myVariable contained "card one of this stack" I should be able to say
get the long id of myvariable
This works when I test it. Without knowing specifics on what you variable *actually* contains and not what you *think* it contains, I'm afraid there isn't much more advice I can give, or anyone else for that matter.
On Jan 18, 2013, at 2:29 PM, Cal Horner wrote:
> I'm having a bit of a senior moment here folks.
> I've looked through lots of LC and RunRev documentation and I can't find a
> clear and simple definition of a string. Sometimes they have quotes around
> them and sometimes they don't. So what's the difference between a string and
> a literal?
> OK, now that you've had a good laugh,; hear me out.
> 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
> 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?
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode