PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → WD8: Class Inheritance problem
WD8: Class Inheritance problem
Débuté par Hugo Madureira, 02 nov. 2005 12:38 - 1 réponse
Posté le 02 novembre 2005 - 12:38
Hello all!

I'm trying to inherit a class in Windev 8. Im using the syntax found in
WD8 help:

awInterface is class
nFiles is int
filesList is dynamic array
END

awInterfaceText is class
Inherit from awInterface

END

I get a "Syntax error on from".

---

This is the sample code found in Windev Help:

File is Class
Name is string
Extension is String
Directory is String
End

InfoFile is class
Inherit from File
SizeF is int
DateF is String
TimeF is String
End
Posté le 03 novembre 2005 - 23:28
Try

InfoFile is class
Object File
SizeF is int
DateF is String
TimeF is String
End