Undeclared structures for arrays/lists/maps in structures

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Undeclared structures for arrays/lists/maps in structures

Post by Trond »

Why not allow such codes in the same way as pointers are handled now? It would be a huge advantage.

Code: Select all

Structure Apple
  Array Children.Banana(-1)
EndStructure

Structure Banana
  Cherry.Apple
EndStructure