Variable Not Working
#1
Posted 06 October 2008 - 07:46 PM
I saw something on the internet: making a quiz on my casio, but now i need to make a variable, when i make this:
"HI" A
If A=1
Then "OK"
Else "BYE"
IfEnd
it gives me a Syn ERROR, when i put the right button, the it says i am putting the arrow wrong after "HI"
what am i doing wrong? i use this button
Thanks in advance
#2 Guest_Guest_Chris_*_*
Posted 07 October 2008 - 05:22 PM
HI,
I saw something on the internet: making a quiz on my casio, but now i need to make a variable, when i make this:
"HI" A
If A=1
Then "OK"
Else "BYE"
IfEnd
it gives me a Syn ERROR, when i put the right button, the it says i am putting the arrow wrong after "HI"
what am i doing wrong? i use this button
Thanks in advance
You need to put in
"HI"? A
You need to insert the question mark, shown above.
Good Luck
#3
Posted 09 October 2008 - 07:32 PM
Ok, i got that done now..You need to put in
"HI"? A
You need to insert the question mark, shown above.
Good Luck
Now i want to let someone put his age in, like this
"what's your age"? B
"Ok, you are" (here i want to get the age displayed)
Else "fill in a valid number"
How do i display the age after he filled it in..?
#4 Guest_Kapytanhook_*
Posted 10 October 2008 - 03:11 PM
Ok, i got that done now..
Now i want to let someone put his age in, like this
"what's your age"? B
"Ok, you are" (here i want to get the age displayed)
Else "fill in a valid number"
How do i display the age after he filled it in..?
There are more ways then 1, id go for locate now like so:
"what's your age"? B
Cls
Locate 1,1,"Ok, you are"
Locate 13,1,B
(Make sure you find locate in the catalog instead of typing it ( That's how i used to fail (catalog is shift+ 4)))
#5 Guest_Theo_*
Posted 10 October 2008 - 11:04 PM
#6 Guest_theo_*
Posted 11 October 2008 - 12:58 PM
#7
Posted 11 October 2008 - 01:20 PM
#8
Posted 15 October 2008 - 01:50 PM
RTMOké thanks, i'll try that, but what does it stand for? can you explain it to me please? i like to learn
It locates text at the specified coordinates (x: 1 to 21 and y: 1 to 7)
You probably misspelled. Post what you tried exactly.It doesnt work, when i do this the quiz restarts, and it doesn't give ok you are...
How is that supposed to solve the problem?Try placing a Stop after the code.
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users