Point taken, but I think you are mistaken on one point. You cannot put anything into a property, you can only set a property. "put the foreColor of me into the FgColor" will cause the compiler to come to a screeching halt, as will set the foreColor to the fgColor, because I haven't supplied the object argument to the fgColor. But you are right in saying that it is easy to slip up and insert that space. I have trained my monkey brain to avoid that for the most part.
Bob On Feb 24, 2012, at 8:30 AM, Mark Wieder wrote: > Bob- > > Friday, February 24, 2012, 8:23:47 AM, you wrote: > >> I even put it before most variables because "into theFgColor" is >> more readable to me. > > I was with you up to that point. I find that using the "the" prefix is > more error-prone that the shorthand form of "t" even though it's less > immediately recognizable as readable language. With your example there > probably wouldn't be a problem, but if you had said "theForeColor" you > would run the risk of slipping up and typing "the ForeColor" somewhere > in the script. There wouldn't be any compiler error, but your script > wouldn't do what you expect and you'd have a merry time figuring out > what was going on there. > > -- > -Mark Wieder > mwie...@ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode