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 - 11:43 AM

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
  • 159 posts
  • Gender:Male
  • Location:CZ

  • Calculators:
    .

Posted 15 February 2018 - 05: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 - 06: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