I am still rare new to PB so i got one problem with structured linked list.
How can i pass it to procedure ? Here is my code but it dont work.
"Syntax Error". Can someone help me out ?^^
Code: Select all
Structure FILE
Path.s
Hash.s
EndStructure
NewList files.FILE()
Procedure AddFile(myList.FILE(), Path.s, Hash.s)
AddElement(myList())
myList()\Path = Path
myList()\Hash = Hash
EndProcedure
AddFile(files(), "C:\System", "HASH")
ForEach files()
Debug files()
Next
End