Hi, I am new to PB.
How to declare New List, List in a struct.
It is better to have an example of how to use Procedure inside and outside.
Thank man.
NewList or List in a Structure how to declare and using ?
NewList or List in a Structure how to declare and using ?
PB 5.x + 6.x + Win10. Feel the ...Pure... Power.
Re: NewList or List in a Structure how to declare and using ?
Code: Select all
structure ListExample_Structure
List ListExample.i()
endstructure
NewList is not involved.
Re: NewList or List in a Structure how to declare and using ?
And ...
Code: Select all
Structure ListExample_Structure
List ListExample.i()
EndStructure
; Then ...
Global ListData.ListExample_Structure
; Or ...
*mem1 = AllocateStructure(ListExample_Structure)
; ...
FreeStructure(*mem1)
; Or ...
*mem2 = AllocateMemory(SizeOf(ListExample_Structure))
InitializeStructure(*mem2, ListExample_Structure)
; ...
ClearStructure(*mem2, ListExample_Structure)
FreeMemory(*mem2)
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive

