PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Reason
  • Correction
  • Examples
  • Indirection on a numeric value
  • Indirection on a numeric variable
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 533: The expression of a { } must be a string
Reason
You are using an indirection operator on a value or on a variable that is not a string.
Correction
Check and modify the type of the variable on which the indirection operator is used.
Examples

Indirection on a numeric value

Code triggering the error
{5}..Note = "Note"
Possible correction
Replace the numeric value by a character string.
{"MyControl"}..Note = "Note"

Indirection on a numeric variable

Code triggering the error
MyControl is real = 5
{MyControl}..Note = "Note"
Possible correction
Replace the numeric value by a character string.
MyControl is string = "Button1"
{MyControl}..Note = "Note"
Minimum required version
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment