Structure human
eyes.l
mouth.l
EndStructure
NewList Human.human()
for n = 0 to 1
Addelement(Human())
human\eyes=2
next
Foreach Human()
Debug human()\eyes
next
Der code funktionier bei mir nicht.
Types und fields in PB
- Green Snake
- Beiträge: 1394
- Registriert: 22.02.2005 19:08
Bei Listen musst du Klammern schreiben.
Code: Alles auswählen
Structure human
eyes.l
mouth.l
EndStructure
NewList Human.human()
For n = 0 To 1
AddElement(Human())
Human()\eyes=2
Next
ForEach Human()
Debug Human()\eyes
Next
-.-"