ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Errors / WLanguage errors
  • 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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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"
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help