Jump to content



Photo
- - - - -

Programming Problem With Casio Cfx-9850gb Plus


  • Please log in to reply
2 replies to this topic

#1 mantorras

mantorras

    Newbie

  • _Members
  • Pip
  • 1 posts
  • Gender:Male

  • Calculators:
    CASIO 9850GB PLUS

Posted 25 September 2008 - 11:30 AM

Hey guys, first of all congratulations on having such a great forum :)
Now for my coding problem. I wanted to make a program that receives 2 values and uses them in a formula and then gives out the result. Here's what I made

Created a Program named CONC.INT

"EG=" ?->E:
"T="?->T:

4.82E21 x (T^1.5) x e( (-E) / (2x8.62E-5 x T ) ) then I finish with that half a square symbol

(I use a lot of spaces so it's more easy to read)

when I try to use it it goes like this.

EG=?
I input a value and then it says syn error :(

Any tips on what could be wrong ?

#2 kucalc

kucalc

    Casio Maniac

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly<br /><br />Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 27 September 2008 - 01:23 AM

Hello mantorras and welcome to the UCF! :D

When it says Syn Err, press the right key button [dRIGHT]. It will take you to your error.

#3 Somelauw

Somelauw

    Newbie

  • Members
  • Pip
  • 14 posts

  • Calculators:
    Casio CFX-9850GC PLUS

Posted 02 October 2008 - 04:28 PM

Your lines shouldn't end with a semicolon.
A semicolon is used to separate 2 statements on the same line.
Look at the examples in the manual.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users