More on this...
On a script I have the following:
Code: Select all
repeat with U = 1 to 6 --line 1
put the abbrev ID of group ("FR_Process" && U) of me into tAbbrID --line 2
put (item 2 of (the loc of tAbbrID)) & comma & tAbbrID & cr after sChoiceList --line 3
end repeat
What happens is that on line 3 LiveCode simply stop executing, without reporting an error. Moving brackets around doesn't solve...
This also is not permitted:
put (item 2 of (the loc of tAbbrID of me)) & comma & tAbbrID & cr after sChoiceList
The thing gets fixed only doing this:
Code: Select all
repeat with U = 1 to 6 --line 1
put the abbrev ID of group ("FR_Process" && U) of me into tAbbrID --line 2
put (item 2 of (the loc of group ("FR_Process" && U) of me)) & comma & tAbbrID & cr after sChoiceList --line 3
end repeat
For what I know, ID should be unique in a stack and LC should know what they are.
I could use the long ID of the group, but the "background" word, from the dictionary, confuse me:
The long ID of a group includes the ID of the current card. If the group does not appear on the current card, requesting its ID causes an execution error. If you need to get the ID of a group, use the "background" terminology instead.
Beside the not reporting of an error, I don't remember to ever have these kind of problems on older versions of LC. It is like if LC scrambles its internal list of things.
Thanks for any help.