We have
Code: Select all
Global value.l=5
Code: Select all
Structure dings
value.l
List Werte.l()
EndStructure
Global var.dings
var\value=5
Initializing the List needs setting values anyway, so, why not allow
Code: Select all
Structure dings
value.l=5
List Werte.l()
EndStructure
Global var.dings
Thanks for reading, discussing, implementing
Greetings
Franky
Edit: The old posting showed an example with Strings, but this needs memory allocation. So, it was removed with Numeric Values example.
Code: Select all
Global test.s="String"
Code: Select all
Structure dings
test.s
List Werte.l()
EndStructure
Global var.dings
var\test="String"
Initializing the List needs setting values anyway, so, why not allow
Code: Select all
Structure dings
test.s="String"
List Werte.l()
EndStructure
Global var.dings