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