TI-89 HomeGames ArchiveTitanium GamesGames How ToProgramsFAQForumTI-89 WikiLinks

Missing Start/End Qualifiers

 
Post new topic   Reply to topic    Your TI-89 Resource Forum Index -> BASIC Programming
Author Message
redmann11



Joined: 18 Jan 2011
Posts: 1

PostPosted: January 18, 2011 7:13 PM    Post subject: Missing Start/End Qualifiers Reply with quote

I receive the error "Missing start or end of block syntax" on my TI-89 when running a program. I understand that I am missing the start/end qualifiers, and I need help placing them. Here is the program:

:Prgm
:Disp "lower limit"
:Input a
:Disp "upper limit"
:Input b
:Disp "n subintervals"
:Disp "enter even n"
:Input n
:0->s
:0->v
:(b-a)/n->w
:For j,1,n/2
:a+2j*w->r
:(p+r)/2->m
:y1(p)->p
:y1(r)->r
:y1(m)->m
:s+w*(p+4m+r)/3->s
:v+w*(p+2m+r)/2->v
:Disp "simpson rule"
:Disp s
:Disp "trapezoidal rule"
:Disp v
:EndPrgm


Thanks for the help!
Back to top
View user's profile Send private message
mellamokb



Joined: 10 May 2007
Posts: 124

PostPosted: February 10, 2011 3:25 PM    Post subject: Reply with quote

Hi redmann11,

I think you need a matching EndFor for your For loop. My guess would be it belongs just above the statement that reads

Disp "simpson rule"

Hope this helps!

Regards,
~ mellamokb
Back to top
View user's profile Send private message
Display posts from previous:    View previous topic : View next topic  
Post new topic   Reply to topic    Your TI-89 Resource Forum Index -> BASIC Programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Contact Us | Privacy Policy | Disclaimer | Trademarks

Copyright ©2006 All rights reserved.


Free Greeting Cards | Girly Myspace Layouts | Myspace Unblocker |