I almost died trying to figure this out.
I simply set a custom property named "boardFactor" with an array. But the property would sometimes not set, that is, its contents would be empty, and if it did, it could not then be further modified.
Just changing the name to something else, with no other changes in how it is populated or used, made the problem go away.
Something about the name itself? Or can a custom property corrupt itself?
Craig Newman
Reserved word??
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
- Posts: 10127
- Joined: Fri Feb 19, 2010 10:17 am
Re: Reserved word??
Maybe the engine cannot spell and read "boredFactor" . . .
All I can see in the Dictionary are scrollbarFactor and scaleFactor.
All I can see in the Dictionary are scrollbarFactor and scaleFactor.
Re: Reserved word??
Richmond.
The funny thing is that I started having trouble with all this with an earlier name, "currentFactor". This worked for months, and then I started getting errors. So I changed to "boardFactor", just because I rewrote the whole thing, changing as much as I could, but which never worked well at all.
I tried "bob" which was just fine. It never occurred to me that the name itself would resolve the problem. The new name is "philipsFactor" which seems perfect stable.
Craig
The funny thing is that I started having trouble with all this with an earlier name, "currentFactor". This worked for months, and then I started getting errors. So I changed to "boardFactor", just because I rewrote the whole thing, changing as much as I could, but which never worked well at all.
I tried "bob" which was just fine. It never occurred to me that the name itself would resolve the problem. The new name is "philipsFactor" which seems perfect stable.
Craig