ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Errors / WLanguage errors
  • Reason
  • Correction
  • Example
  • Defining a structure
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 1049: The access directives are not allowed in a composite variable
Reason
You are trying to use some access directives (: PUBLIC, PRIVATE, PROTECTED) during the definition of a composite variable.
The access to a member of a composite variable cannot be restricted: all the members of a composite variable are public.
Correction
Delete the keyword corresponding to an access directive: PUBLIC, PRIVATE, PROTECTED.
Example

Defining a structure

Code triggering the error
Coord is composed of
 PRIVATE
 PosX is int
 PosY is int
END
Possible correction
Delete the PRIVATE keyword.
Coord is composed of
PosX is int
PosY is int
END
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help