PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Reason
  • Correction
  • Example
  • Defining a structure
Products
WINDEVWEBDEV - Server codeWEBDEV - Browser codeWINDEV MobileReports and Queries
Platforms
WindowsLinuxWindows MobileUniversal Windows 10 AppAndroidAndroid Widget iPhone/iPadApple Watch
Languages
JavaPHPAjaxUser code (UMC)External language
Databases
HFSQLHFSQL Client/ServerStored proceduresOLE DBODBCNative Accesses
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
This page is also available for…
Comments
Click [Add] to post a comment