Page 1 of 1
Suppressing Addelement() function
Posted: Mon Sep 05, 2011 1:25 pm
by ar-s
Why don't delete AddElement(exemple())
That could be "implicit" with only the command
exemple()="bob"
istead of
AddElement(example())
exemple()="bob"
PB should know we want to add a value because of "="
Re: Suppressing Addelement() function
Posted: Mon Sep 05, 2011 1:32 pm
by DarkDragon
ar-s wrote:Why don't delete AddElement(exemple())
That could be "implicit" with only the command
exemple()="bob"
istead of
AddElement(example())
exemple()="bob"
PB should know we want to add a value because of "="
No. You copy a value with = into the current element. It shouldn't ever add a new element for assigning a value.
Re: Suppressing Addelement() function
Posted: Mon Sep 05, 2011 1:35 pm
by Kiffi
ar-s wrote:PB should know we want to add a value because of "="
then you are not able to change the content of an element anymore.
Greetings ... Kiffi
Re: Suppressing Addelement() function
Posted: Mon Sep 05, 2011 1:37 pm
by DarkDragon
Kiffi wrote:ar-s wrote:PB should know we want to add a value because of "="
then you are not able to change the content of an element anymore.
Then we will end up with inflationary usage of DeleteElement

and there will be many topics with the title "Suppressing DeleteElement() function"