Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CASE Problem

Status
Not open for further replies.

StacyStacy

Programmer
Apr 16, 2003
60
US
Help! Why do I get a "mismatched case structure" error? Here's the code:

SET CENTURY ON

*set defa to j:\testing\document

DO CASE

CASE m.go=1
DO medata.spr

IF m.go1 !=1
RETURN
ENDIF

CASE m.go=2
CLOSE DATA
CLEAR READ
RETURN

END CASE

 
I figured out the solution. The ENDCASE should not have a space between the two words.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top