Question about local variables
Posted: Fri Mar 21, 2014 11:27 pm
Hi,
First off I want to say I've been extremely impressed with LiveCode and with the support the company has provided. Although I've been in IT for many years, I'm excited to get my hands dirty with software development with the help of LiveCode.
I'm working on an app that essentially is a quiz with multiple choice answers. As a beginner, I've been making steady progress, but I've reached an impasse. Thus far, my app has 2 cards, one with a user interface and the other for storing the quiz data--in a field. In a nutshell, there's a line in the data field with a value for the correct answer to a given quiz question. When the user hits a button to confirm her answer, a handler compares the answer selected to the correct answer. Based on the result, it puts a text response into another field on the user interface card. But I can't get the local variable to work.
Would you mind taking a look at my stack to see what I'm missing? I've emailed the stack to support.
Sean
First off I want to say I've been extremely impressed with LiveCode and with the support the company has provided. Although I've been in IT for many years, I'm excited to get my hands dirty with software development with the help of LiveCode.
I'm working on an app that essentially is a quiz with multiple choice answers. As a beginner, I've been making steady progress, but I've reached an impasse. Thus far, my app has 2 cards, one with a user interface and the other for storing the quiz data--in a field. In a nutshell, there's a line in the data field with a value for the correct answer to a given quiz question. When the user hits a button to confirm her answer, a handler compares the answer selected to the correct answer. Based on the result, it puts a text response into another field on the user interface card. But I can't get the local variable to work.
Would you mind taking a look at my stack to see what I'm missing? I've emailed the stack to support.
Sean