Jump to content



Photo
- - - - -

Help with command if

Programs command if porgram

  • Please log in to reply
2 replies to this topic

#1 dr8madrid

dr8madrid

    Newbie

  • Members
  • Pip
  • 3 posts

  • Calculators:
    Casio ClassPad fx-CP400

Posted 15 February 2018 - 12:43 PM

I don't know what I'n doing bad with this program, it says there's a problem of sintaxis.

 

No sé qué estoy haciendo mal con este programa, me sale que hay un problema de sintaxis.

 

Set Decimal

Input h

Input fy

Input xG

Input I

Print "Inicio de programa"

Print "Momento elastico"

If xGh/2

Then

Print "Wel=I/ysup"

I/xG=>Wel

Else

Print "Wel=I/yinf"

I/(h-xG)=>Wel

IfEnd

Print Wel



#2 pan.gejt

pan.gejt

    Casio Freak

  • Members
  • PipPipPipPip
  • 152 posts
  • Gender:Male
  • Location:CZ

  • Calculators:
    fx-880, fx-6300G, fx-9700GE, fx-9860G Slim, Classpad 330-A, TI-Nspire + keypad, TI-Nspire CAS, TI-Nspire CX CAS,TI-89 Titanium, HP-50g, SEC-101, fx-991ES PLUS, fx-991DE PLUS, fx-CP400, Canon X MARK I PRO, Citizen SRP-75,

Posted 15 February 2018 - 06:51 PM

I retyped your program to my ClassPad II and everything is OK.

 



#3 dr8madrid

dr8madrid

    Newbie

  • Members
  • Pip
  • 3 posts

  • Calculators:
    Casio ClassPad fx-CP400

Posted 17 February 2018 - 07:15 PM

When I type the program and I save it, everything is correct. Next, when I'm going to execute it, it says that there's a sintaxis error,







Also tagged with one or more of these keywords: Programs, command, if, porgram

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users