Texas Instruments TI-89 Calculator Logo

Related Topics:

Posted on Feb 25, 2008
Answered by a Fixya Expert

Trustworthy Expert Solutions

At Fixya.com, our trusted experts are meticulously vetted and possess extensive experience in their respective fields. Backed by a community of knowledgeable professionals, our platform ensures that the solutions provided are thoroughly researched and validated.

View Our Top Experts

Programming problem when i run my program i get an error "mirssing start or end of block syntax" at the EndPrgm line can you help

1 Answer

k24674

Level 3:

An expert who has achieved level 3 by getting 1000 points

Superstar:

An expert that got 20 achievements.

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

  • Texas Instru... Master 8,093 Answers
  • Posted on Sep 27, 2009
k24674
Texas Instru... Master
Level 3:

An expert who has achieved level 3 by getting 1000 points

Superstar:

An expert that got 20 achievements.

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

Joined: Aug 17, 2009
Answers
8093
Questions
0
Helped
4674891
Points
21596

Hello,
Program flow control structures obey ceratin rules. They start with a keyword and end with another keyword
For
Instructions
EndFor

If .....Then
Instructions
Endif

If .....Then
Instructions
Else
Instructions
Endif

If..... Then
instructions
ElseIf......Then
instructions
Else
instructions
Endif

Loop
Instructions
Endloop

While
Instructions
EndWhile

Each ot these structures is called a block. If one of the keys words is missing, the program generates a syntax error.
Hope it helps.

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

0helpful
1answer

Cannot view my own website. it reads: "Parse error: syntax error, unexpected $end..." in my index.php file. HELP

Syntax errors are the most common problem for developers. A single syntax error can cripple even the best applications and websites. You can correct syntax errors easily once you find them. Typical errors include missing commas, semicolons and parenthesis. Debuggers are available in many software development kits to aid you in the location of syntax errors. However, you can find and correct syntax errors manually as well. Learning how to correct syntax errors is an essential part of being a software developer.

Locate the syntax error manually. Step through each section of your code. Most code will be sectioned off into groups or functions. Carefully proof your code. Be sure to pay close attention to how lines are grouped. A common syntax mistake is incorrect grouping.

For instance, if you have an If Else statement embedded in another If Else statement, be sure the embedded statement is surrounded by a separate set of parenthesis or brackets, depending on your language. Double-check notes sections. Notes are only for the developer to see. However, if the syntax isn't correct, the notes may become part of your application, which may not agree with existing code. Ensure the syntax around your notes is correct. Run a debugger if possible. This will make locating errors much easier. A debugger will be found under a menu such as Debug, Run or Tools or as part of your SDK's toolbar. Allow the debugger to run. Errors will be listed at the bottom or right side of your screen. Many debuggers will highlight possible errors in your code as well. A line number, along with the possible error, will be listed in the error message. Locate your syntax error if the debugger isn't correct. Sometimes a debugger will show you where your application stopped working correctly. The syntax error itself may be above or below the line listed in the debugger message. Check all syntax within the surrounding area, especially within the line's function. Run your application after correcting the syntax error. Check every possible function of your application to ensure it works correctly. If you find a problem, double-check the syntax in your code that surrounds the problem area. For instance, if your application has a log-in screen that isn't accepting passwords correctly, check the code for the log-in screen. Remove Syntax Error syntax error typically occurs when the Web page you are loading causes a script error in the browser. This is caused by incorrect code that displays an error message or results in a Web page that does not load correctly. You can remove a syntax error by making a change to the settings of your Web browser. Common Web browsers that can experience this type of error include Internet Explorer, Mozilla Firefox and Safari.
Double-click the "Internet Explorer" icon to open the program. Click the "Tools" drop-down menu and select "Internet Options." This will display the Internet Options window. Go to the "Advanced" tab and scroll down to the "Browsing" section. Remove the check from the box for "Disable script debugging (Internet Explorer)," "Disable script debugging (Other)" and "Display a notification about every script error." Click the "Apply" button to save the changes. Click the "OK" button to close the Internet Options window. Close and restart the Internet Explorer browser for the changes you made to take effect. b> Mozilla Firefox b> Double-click the "Mozilla Firefox" icon to open the program. Type "about:config" into the address bar and press the "Enter" key. Type "dom.max_script_run_time" into the Filter text box and press the "Enter" key. Double-click "dom.max_script_run_time" to display the Enter Integer Value dialog box. Enter a value of "10" or "15" into the text box and click the "OK" button to save the change. Close and then restart the Firefox browser for the change to take effect. b> Safari b> Click the "Safari" icon to open the Web browser. Select the option for "Preferences" from the menu bar. Go to the Advanced tab and click the option for "Show Develop menu in menu bar." Click the option for "Develop" from the menu bar. Click the option for "Disable Runaway JavaScript Timer." Close and re-open the browser for the change to take effect.

b>

b>
1helpful
1answer

I keep getting a box on my screen every time i try to do anything. it says EvalInsandbox:SyntaxError:syntaxerror

Correct a Syntax Error Syntax errors are the most common problem for developers. A single syntax error can cripple even the best applications and websites. You can correct syntax errors easily once you find them. Typical errors include missing commas, semicolons and parenthesis. Debuggers are available in many software development kits to aid you in the location of syntax errors. However, you can find and correct syntax errors manually as well. Learning how to correct syntax errors is an essential part of being a software developer.

Locate the syntax error manually. Step through each section of your code. Most code will be sectioned off into groups or functions. Carefully proof your code. Be sure to pay close attention to how lines are grouped. A common syntax mistake is incorrect grouping.

For instance, if you have an If Else statement embedded in another If Else statement, be sure the embedded statement is surrounded by a separate set of parenthesis or brackets, depending on your language. Double-check notes sections. Notes are only for the developer to see. However, if the syntax isn't correct, the notes may become part of your application, which may not agree with existing code. Ensure the syntax around your notes is correct. Run a debugger if possible. This will make locating errors much easier. A debugger will be found under a menu such as Debug, Run or Tools or as part of your SDK's toolbar. Allow the debugger to run. Errors will be listed at the bottom or right side of your screen. Many debuggers will highlight possible errors in your code as well. A line number, along with the possible error, will be listed in the error message. Locate your syntax error if the debugger isn't correct. Sometimes a debugger will show you where your application stopped working correctly. The syntax error itself may be above or below the line listed in the debugger message. Check all syntax within the surrounding area, especially within the line's function. Run your application after correcting the syntax error. Check every possible function of your application to ensure it works correctly. If you find a problem, double-check the syntax in your code that surrounds the problem area. For instance, if your application has a log-in screen that isn't accepting passwords correctly, check the code for the log-in screen. Remove Syntax Error syntax error typically occurs when the Web page you are loading causes a script error in the browser. This is caused by incorrect code that displays an error message or results in a Web page that does not load correctly. You can remove a syntax error by making a change to the settings of your Web browser. Common Web browsers that can experience this type of error include Internet Explorer, Mozilla Firefox and Safari.
Double-click the "Internet Explorer" icon to open the program. Click the "Tools" drop-down menu and select "Internet Options." This will display the Internet Options window. Go to the "Advanced" tab and scroll down to the "Browsing" section. Remove the check from the box for "Disable script debugging (Internet Explorer)," "Disable script debugging (Other)" and "Display a notification about every script error." Click the "Apply" button to save the changes. Click the "OK" button to close the Internet Options window. Close and restart the Internet Explorer browser for the changes you made to take effect. b> Mozilla Firefox b> Double-click the "Mozilla Firefox" icon to open the program. Type "about:config" into the address bar and press the "Enter" key. Type "dom.max_script_run_time" into the Filter text box and press the "Enter" key. Double-click "dom.max_script_run_time" to display the Enter Integer Value dialog box. Enter a value of "10" or "15" into the text box and click the "OK" button to save the change. Close and then restart the Firefox browser for the change to take effect. b> Safari b> Click the "Safari" icon to open the Web browser. Select the option for "Preferences" from the menu bar. Go to the Advanced tab and click the option for "Show Develop menu in menu bar." Click the option for "Develop" from the menu bar. Click the option for "Disable Runaway JavaScript Timer." Close and re-open the browser for the change to take effect. Hope this helps.

b>

b>
3helpful
1answer

Programming Issue : "Error : Variable or Flash application is locked, protected or archived"

Apparently the variable "a" is archived or locked. Press 2ND VAR-LINK (the subtract key). Find the line containing "a". If there's a little x-like thing to the left then its archived. Press F1 9 to unarchive it. If there's a little padlock to the left then its locked. Press F1 7 to unlock it.
0helpful
1answer

I GET ON FACEBOOK THEN I GO TO WSOP SITE CLICK TO PLAY AND NOTHING HAPPENS OR I GET A MESSAGE TELLING ME THERE IS A SYNTAX ERROR (12) . I DON'T HAVE A CLUE WHAT THAT MEANS. ANY HELP WOULD BE APPRECIATED

syntax error - an error of language resulting from code that does not conform to the syntax of the programming language; "syntax errors can be recognized at compilation time"; "a common syntax error is to omit a parenthesis"...

("syntax error" is a kind of...):

programming errorsoftware error (error resulting from bad code in some program involved in producing the erroneous result)

1helpful
1answer

I receive the error "Missing

Put an EndFor command 2 lines down from the For j,1.n/2 line. Right above y1(p) store p. You'll have to have a 0 store p inserted into the program or, you'll get a circular error. I put mine right under input n. Also where you store 0 in s and v.
0helpful
1answer

What is error statemant?

The try...catch Statement The try...catch statement allows you to test a block of code for errors. The try block contains the code to be run, and the catch block contains the code to be executed if an error occurs
The try...catch Statement The try...catch statement allows you to test a block of code for errors. The try block contains the code to be run, and the catch block contains the code to be executed if an error occurs

Syntax:

try
{
//Run some code here
}
catch(err)
{
//Handle errors here
}try
{
//Run some code here
}
catch(err)
{
//Handle errors here
}
0helpful
2answers

I need to write a program for interpolation and i dont know how

Do not get me wrong! I have no such program to give you, but a few recommendations.
Read the theory on interpolation and understand it well. Choose one interpolation algorithm-look for something that is not too complicated.
Write a program in your native language (preferably English, because the commands of the TI89Titanium are in English):
  1. Starting from the initial data, state the sequence of steps you would have to perform to get the end result. That is the algorithm.
  2. Translate the steps in abbreviated English (pseudo code).
  3. Better write a step for each action (instruction)
  4. Run it in your head. Use some simple data that you could find in books, references.
  5. If you see that the program should do, translate each statement in the language of the TI89 Titanium.
  6. Respect the syntax of the commands
  7. All the available commands are detailed in the appendix to the book. There, you find each single command with its syntax, parameters, variables, and error conditions).
You can try education.ti.com or ticalc.org for any program you might look at to get some inspiration.
0helpful
1answer

Can you correct my error message? command line option SYNTAX ERROR I get this message when I try to open a pps file. I have Microsoft Power Point installed on the computer. Thea.

In computer science a syntax error ( IPA: /ˈsɪntæks ɛrə(ɹ)/ ) refers to an error in the syntax of a sequence of characters or tokens that is intended to be written in a particular programming language.
For compiled languages syntax errors occur strictly at compile-time. A program will not compile until all syntax errors are corrected. For interpreted languages however syntax errors cannot be detected until runtime and it is not necessarily simple to differentiate a syntax error from a semantic error.
A syntax error may also occur when an invalid equation is entered into a calculator. This can be caused, for instance, by opening brackets without closing them, or less commonly, entering several decimal points in one number.

copy and paste this link in your internet address bar for more information:

http://www.google.com/search?q=SYNTAX+ERROR&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a


feel free to ask any other questions
0helpful
1answer

The following program can not quit normally

the program is in a loop always...
when is displayed "speed" the next line order to go the begging and ask again the distance...

you have to include an instruction to quit
Lbl ad0
Input "distance",a
Input "time",b
Disp"speed=",a/b
Dialog
Title "Again"
DropDown "Repeat?",{"Yes", "No"},a
EndDlog
if a=1
Goto ad0
DispHome
EndPrgm

2helpful
2answers

Programming problem with ti89

Yes, what you call code aka.basic programming isn't written right or there is a conflict with inside the program. I'd have to see the program to fix it.
[email protected]
Not finding what you are looking for?

1,245 views

Ask a Question

Usually answered in minutes!

Top Texas Instruments Office Equipment & Supplies Experts

k24674

Level 3 Expert

8093 Answers

Jerry Naidoo

Level 2 Expert

152 Answers

Paul Bade

Level 3 Expert

1818 Answers

Are you a Texas Instruments Office Equipment and Supply Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...