Code: Select all
repeat with i = 1 to 7
set the periodOffset & i of this stack to wordoffset("Period", line 1 of allschedules, the periodOffset & i of this stack)
end repeat
When I try to run the command this way, I get an error:set: no property specified. If I take out the attempt at concatenation of i, it works fine. The same thing applies to the last argument in the wordoffset function, where I get an error: Expression: bad factor.)
First off, is it possible to do what I'm trying to do, and if so, how do I do it?
Second, is this the correct way to go about this task? Apparently my account is not allowed to post links, but the lesson titled "How do I save custom properties in a standalone application?" suggests that using custom properties to save information between sessions, but I'm wondering why this can't just be done with a hidden text field. They seem much easier to work with.