AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

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

Defining a structure

Code triggering the error
Coord is Structure
 PRIVATE
 PosX is int
 PosY is int
END
Possible correction
Delete the PRIVATE keyword.
Coord is Structure
PosX is int
PosY is int
END
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local