PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Reason
  • Correction
  • Example
  • Extracting part of a character string
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 532: The size of the string to extract must be strictly positive
Reason
You are using the operators for string extraction ([[ or ]]). The size of the string to extract must be positive.
Correction
Modify the value for the size of the string to extract.
Example

Extracting part of a character string

Code triggering the error
sString is string ="WEBDEV is great"
Trace(sString[[1 on 0]])
Possible correction
Modify the extracted value in order for the size of the extracted string to be positive.
sString is string ="WEBDEV is great"
Trace(sString[[1 on 5]])
Minimum required version
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment