|
|
|
|
- Reason
- Correction
- Example
- Defining a structure
Error 1033: The access directives are not allowed in a structure
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. Delete the keyword corresponding to an access directive: PUBLIC, PRIVATE, PROTECTED. 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|