PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Reason
  • Correction
  • Example
  • Attempt of inheritance in a structure
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Error 1032: The inheritance is not allowed in a structure
Reason
You are trying to define an inheritance in the definition of a structure. The inheritance is not allowed in a structure.
Correction
Delete the inheritance syntax.
Example

Attempt of inheritance in a structure

Code triggering the error
Coord is structure
PosX is int
PosY is int
END

ObjectSize is structure
A coord object
Height is int
Width is int
END
Possible correction
Delete the inheritance syntax.
Coord is structure
PosX is int
PosY is int
END

ObjectSize is structure
        Height is int
        Width is int
END
Minimum required version
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment