
-Karina.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Thanks Klaus! I got the global variables in each card like this:Klaus wrote:Hi Karina,
1. welcome to the forum!![]()
2. Please check this thread, maybe this already helps:
http://forums.livecode.com/viewtopic.php?f=7&t=26478
If not, we need to look at your script(s)!
Best
Klaus
Code: Select all
global question1
on mouseUp
put "a,A,b,B,c,C,d,D" into tAnswers
ask "Please enter your choice"
put it into question1
## If the result is cancel, exiting the procedure
if the result = cancel then
exit mouseup
end if
if question1 is not in tAnswers then
## Error message
answer "Please enter a, A, b, B, c, C, d, D. Thank you."
exit mouseup
end if
go to card "L1-2"
end mouseUp