Search code examples
delphidelphi-6continue

Is Continue in Delphi 6?


I'm getting an error when I'm trying to replace a GoTo in a while loop with a Continue, but whenever I do I get an error reading "Statement expected, but expression of type 'Boolean' found". Is continue a keyword not in Delphi 6? Does the error message mean something else?

Thanks.


Solution

  • It is in Delphi 5, so I would assume it is in Delphi 6. There must be something else going on in your code, but without posting it, it's impossible to tell.