Hmm. can't test on IOS right this sec, but..
if you do something simple like:
Code: Select all
on mouseUp
ask "This is a question?"
switch
case the result is "Cancel"
answer information "You cancelled"
break
case it is empty
answer information "nothing in the field"
break
default
answer information "You entered: " & it
end switch
end mouseUp
Or even simpler,
Code: Select all
ask "This is another question?"
answer information merge("it: [[it]] the result:[[the result]]")
So you can see the values of both.
Though since it works in the ide and not in IOS the other question is whether the ask/answer stuff is being included in the build. If you are using the "splashstack" method of creating your app, and including stacks as part of the app , but not substacks. (in order to make parts of your app "savable") its possible the correct things are not being included due to how the engine figures things out.
To test this you can choose to manually include functionality. In the standalone settings for the main stack, change "search for required inclusions.." to "select inclusions ..." Make sure ask dialong and answer dialog are included as well as any other libraries you might need, build, then test. IF it starts to work after this change, that was the problem. Depending on how your app is set up there might be some easy ways around this that would let you still use the "search for required inclusions" but we can cross that bridge when you get there.