Unreliable Cd ID of SubStacks ?
Posted: Sat Apr 14, 2018 2:34 pm
Hi,
since time immemorial I use
Today I a put this script into a button of a substack "B" of stack "A":
and get this error message: stack "B": execution error at line 42 (Chunk: no such object), char 1.
If I remove the first "--" in line 7 of script 2 I get the wanted result.
Regards
Peter
since time immemorial I use
Code: Select all
lock screen
put the Long ID of this cd into CdID
go stack XX
-- do something
put the Number of this cd into CdNu
go CdID
Code: Select all
on FetchCdNum StackChoice
lock screen
put the Long ID of this cd into CID
go stack StackChoice
put the Number of this cd into CdNu
go CID
select line CdNu of fld "ToC" -- of stack "B" -- of stack "A"
unlock screen
end FetchCdNum
If I remove the first "--" in line 7 of script 2 I get the wanted result.
Regards
Peter