On Wed, Jan 21, 2015 at 4:56 PM, Dr. Hawkins <doch...@gmail.com> wrote:

> repeat for each word theProp in "a b c"
>    set the theProp of me to empty
> end repeat
>

That's correct, but the contents of theProp variable should still be
interpreted as a custom property name, not a variable because of "the" and
"of me".

The original problem was that if, eg, a is defined as a local variable and
the command in the repeat statement is "get theProp of me", you get the
contents of the local variable a, not the custom property a.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
_______________________________________________
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

Reply via email to