PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Reason
  • Correction
  • Example
  • Inheritance in a composite variable
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 1048: The inheritance is not allowed in a composite variable
Reason
You are trying to define an inheritance in the definition of a composite variable. The inheritance is not allowed in a composite variable.
Correction
Delete the declaration of the inheritance.
Example

Inheritance in a composite variable

Code triggering the error
Coordinate is composed of
        x is real
        y is real
END
Coodinate1 is composed of
        A Coordinate object
        x1 is real
        y1 is real
END
Possible correction
Delete the inheritance.
Coordinate is composed of
        x is real
        y is real
END
Coodinate1 is composed of
        x1 is real
        y1 is real
END
Minimum required version
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment