PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Reason
  • Correction
  • Examples
  • The syntax of the function is incomplete: the closing bracket is missing
  • Incorrect calculation expression
  • The code line is written over the next line
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Error 2: Incomplete line
Reason
The current code line is incomplete: the current WLanguage statement did not end. The most common cases are:
  • The statement used is not completed: a bracket is missing for example.
  • The code line is written over the next line.
Reminder: In the code editor, going to the next line (with the ENTER key) is considered as being a separator of statements.
Correction
Check the syntax of the function and complete the line.
Examples

The syntax of the function is incomplete: the closing bracket is missing

Code triggering the error
HReadFirst(Customer, Name
Possible correction
Add the closing bracket at the end of the line.
HReadFirst(Customer, Name)

Incorrect calculation expression

Code triggering the error
MyVariable = 3 +
Possible correction
Complete the code line if necessary.
MyVariable = 3 + 3

The code line is written over the next line

Code triggering the error
// Addition into the memory table
TableAdd(TABLE_TABLE1, CUSTOMER.CONTACTNAME + TAB + CUSTOMER.COMPANYNAME +
TAB + CUSTOMER.CUSTOMERCITY
Possible correction
Use "..." at the end of the line to indicate that the current code line continues over the next line.
// Addition into the memory table
TableAdd(TABLE_TABLE1, CUSTOMER.CONTACTNAME + TAB + CUSTOMER.COMPANYNAME + ...
TAB + CUSTOMER.CUSTOMERCITY)
Minimum required version
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment