PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Reason
  • Correction
  • Example
  • Using the CONTINUE keyword in a procedure
Products
WINDEVWEBDEV - Server codeWEBDEV - Browser codeWINDEV MobileReports and Queries
Platforms
WindowsLinuxWindows MobileUniversal Windows 10 AppAndroidAndroid Widget iPhone/iPadApple Watch
Languages
JavaPHPAjaxUser code (UMC)External language
Databases
HFSQLHFSQL Client/ServerStored proceduresOLE DBODBCNative Accesses
Error 35: 'Continue' is available in the loops only
Reason
The CONTINUE keyword was used in statement other than a loop.
Correction
Use the CONTINUE keyword in a loop statement or delete this keyword.
Note: In a loop statement, the CONTINUE keyword is used to immediately end the current iteration. The code found after the CONTINUE keyword will not be run. The next iteration is automatically run.
Example

Using the CONTINUE keyword in a procedure

Code triggering the error
PROCEDURE Compare(Number1, Number2)
IF Number1 > Number2 THEN
        RETURN
ELSE
        CONTINUE
END


Possible correction
Deleting the CONTINUE keyword.
PROCEDURE Compare(Number1, Number2)
IF Number1 > Number2 THEN
        RETURN
ELSE
        Info(Number2 + "is greater than " + Number1)
END
Minimum version required
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment