(like maps and linked lists).
One of the best thing is, that we can now use them without pointers
to make recursive structures. We doesn't need to allocate memory,
we doesn't need to initialize them ... all is done by PB itself. But why
is it not the same for arrays? We have already static arrays in structures.
So when anyone knows the size of this array at compilation time, he
can use this. I use dynamic arrays, when i doesn't know what size it
will have at runtime. I think that is the normal behavior for every
programmer here.

usefull to have PB initialize the array with a given size defined at compilation
time.
So, everyone would be very pleased to not have PB do that. And i
doesn't say, you should change the current behavior. There is a better
solution. An dynamic array inside a structure is only a pointer. The
elements can only be initialized, when there are some. So
Code: Select all
Structure myStruc
Array recursiv.myStruc(0)
EndStructure
It is like using maps or linked lists, as they have no element when
PB initialize them, too.

I doesn't know what big it is to change the compiler to allow this, but
i hope that effects only a few lines of code. At first the message
"endless recursion" should only appear, when there is no zero.
I would be glad to see this in the next feature update.

MFG PMV