I have a small question about the names with variable.
if I write these lines of code, the stack disappears after renaming. It's ok.
Code: Select all
on mouseUp
set the name of stack "F0" to "F2"
hide stack "F2"
end mouseUp
or
ask "donner un titre"
put it into Nvar
set the name of stack "F0" to Nvar
hide stack Nvar
If I introduce the variable to create a compound name, the following code does not work.
Code: Select all
ask "donner un titre"
put it into Nvar
set the name of stack "F0" to "F0" & " " & Nvar
hide stack "F0" & " " & Nvar
Pascal