Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!julius.cs.uiuc.edu!news.cs.indiana.edu!news.nd.edu!mentor.cc.purdue.edu!j.cc.purdue.edu!brazil.psych.purdue.edu!zhou From: zhou@brazil.psych.purdue.edu (Albert Zhou) Newsgroups: comp.lang.pascal Subject: IMPLEMENT "GOTO" ACROSS MODULES IN TURBO PASCAL?? Message-ID: <11647@j.cc.purdue.edu> Date: 4 Jan 91 08:15:18 GMT Sender: news@j.cc.purdue.edu Reply-To: zhou@brazil.psych.purdue.edu (Albert Zhou) Organization: Purdue University Lines: 16 Here is the problem: Suppose there is such a structure in the main part of the program: repeat statemetn 1 statement 2 . . . statement n until whatever Now I need to write a subroutine to point the program to statement n. It seems there is no way to do it in turbo pascal, since goto statement can not go out of a subroutine. Any clue?