Re: A string is a string is a string

2013-01-19 Thread Richard Gaskin
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

Re: A string is a string is a string

2013-01-19 Thread Robert Sneidar
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 c

Re: A string is a string is a string

2013-01-18 Thread Peter Haworth
Hi Cal, Be sure to strip the quotes out of the object name when you put it into the variable. Say you have - field "xyz" -. When you put the "xyz" into your variable, be sure to get rid of the quotes or LC will take them as part of the object name. Pete lcSQL Software O

A string is a string is a string

2013-01-18 Thread Cal Horner
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 tha