hope, I am not bombing you too much with feature requests, but I'm working with PB all day,
so I find some more things that could be optimized than I did as a hobbyist
This one's a minor one and it's just for comfort, so priority is below "MultiDimensional Array in Structures" for me.
Nested With
First the definitions:
Code: Select all
Structure MyInnerStruct
value1.l
value2.l
EndStructure
Structure MainStruct
name.s
values.MyInnerStruct
EndStructure
Global Main.MainStruct
Code: Select all
With Main
\name=test
\values\value1=5
\values\value2=7
EndWith
Code: Select all
With Main
\name=test
EndWith
With Main\values
\value1=5
\value2=7
EndWith
So, what would work against Nested With:
Code: Select all
With Main
\name=test
With \values
\value1=5
\value2=7
EndWith
EndWith
Additional to the intern "This is to replace the '\' with: 'Main\'"-Variable, the compiler would just need some kind of Stack to know, what part of the replacetext should be removed from this variable, when EndWith is called.
So far
Franky