Jump to content



Photo
- - - - -

Variable Not Working


  • Please log in to reply
7 replies to this topic

#1 theo

theo

    Newbie

  • Members
  • Pip
  • 2 posts

  • Calculators:
    Casio CFX-9850 PLUS

Posted 06 October 2008 - 07:46 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" :arrow: A :newline:
If A=1 :newline:
Then "OK" :newline:
Else "BYE" :newline:
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_*_*

Guest_Guest_Chris_*_*
  • Guests

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" :arrow: A :newline:
If A=1 :newline:
Then "OK" :newline:
Else "BYE" :newline:
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"? :arrow: A :newline:

You need to insert the question mark, shown above.

Good Luck

#3 theo

theo

    Newbie

  • Members
  • Pip
  • 2 posts

  • Calculators:
    Casio CFX-9850 PLUS

Posted 09 October 2008 - 07:32 PM

You need to put in
"HI"? :arrow: A :newline:

You need to insert the question mark, shown above.

Good Luck

Ok, i got that done now..
Now i want to let someone put his age in, like this

"what's your age"? :arrow: B :newline:
"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_*

Guest_Kapytanhook_*
  • Guests

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"? :arrow: B :newline:
"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"? :arrow: B :newline:
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_*

Guest_Theo_*
  • Guests

Posted 10 October 2008 - 11:04 PM

Oké thanks, i'll try that, but what does it stand for? can you explain it to me please? i like to learn :blink: :unsure:

#6 Guest_theo_*

Guest_theo_*
  • Guests

Posted 11 October 2008 - 12:58 PM

It doesnt work, when i do this the quiz restarts, and it doesn't give ok you are...

#7 E_net4

E_net4

    Casio Freak

  • Members
  • PipPipPipPip
  • 189 posts
  • Gender:Male
  • Location:Output("Error: Coord type not specified");
  • Interests:Programming 'n' stuff...

  • Calculators:
    CASIO fx 9860G SD

Posted 11 October 2008 - 01:20 PM

Try placing a Stop after the code.

#8 Somelauw

Somelauw

    Newbie

  • Members
  • Pip
  • 14 posts

  • Calculators:
    Casio CFX-9850GC PLUS

Posted 15 October 2008 - 01:50 PM

Oké thanks, i'll try that, but what does it stand for? can you explain it to me please? i like to learn :blink: :unsure:

RTM
It locates text at the specified coordinates (x: 1 to 21 and y: 1 to 7)

It doesnt work, when i do this the quiz restarts, and it doesn't give ok you are...

You probably misspelled. Post what you tried exactly.

Try placing a Stop after the code.

How is that supposed to solve the problem?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users