Post
by dunbarx » Wed Dec 26, 2012 5:56 am
Hi.
What Sturgis said: "contents" is not in the language. It is very easy to assume that LiveCode speaks English. It does not, and it confuses new users that way.
And something else Sturgis said that bears looking into. When you put that "the" in front of a word that is NOT in the language, LiveCode assumes you are creating a custom property, in your case, named "contents", that will hold (or as you wrote it, already held) some kind of data. This is a powerful tool, and you really should experiment with it. But there was no such property set up beforehand, and though no error was thrown, nothing useful came out of it.
So do play with this marvelous program, and write back often. Read the dictionary, do the lessons and tutorials. Most importantly, make stacks of any and all kinds. an address book, a calculator, a metric converter, anything. There is no substitute for practice, and the simplest tasks will cause you enormous pain and frustration, as well as enormous satisfaction and triumph.
Craig Newman