technik schrieb:
> Hallo,
> ist es möglich auf einfache Weise ein Element an ein Array anzuhängen? 
> In anderen Sprachen geht das relativ einfach.
> 
> a=array(1,2,3)
> Anhängen_ans_array: (4)
> 
> Ergebnis wie a=array(1,2,3,4)
> 
> Horst
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
Hi,
ich nehme an, es geht um Basic

Dafür gibt es redim
' Die Zählung beginnt normalerweise bei 0! (ausser bei Option Base 1)
redim a(3)
a(3) = 4

siehe <https://wiki.openoffice.org/wiki/Documentation/BASIC_Guide/Arrays>


-- 
Gruss
  Bernd

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Antwort per Email an