Computer Science Canada Case statement error (Variable has no value) |
Author: | Chris974 [ Wed Jun 18, 2014 7:44 pm ] | ||
Post subject: | Case statement error (Variable has no value) | ||
What is the problem you are having? I keep getting Variable has no value. I get the error in the " case menu_choice of " Describe what you have tried to solve this problem I have tried changing the variables, but I still get Variable has no value.
Please specify what version of Turing you are using Turing 4.1 |
Author: | Srlancelot39 [ Wed Jun 18, 2014 7:51 pm ] |
Post subject: | RE:Case statement error (Variable has no value) |
Try initialising PName. EDIT: I reread your code and realised that you try to use their choice without them ever entering one...that's mush more likely what your problem is. EDIT2: I just read your edit...that confirms my previous edit |