Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Hans-Peter Diettrich Newsgroups: comp.lang.pascal.delphi.misc Subject: Re: display array values in a label Date: Thu, 11 Sep 2014 15:44:47 +0200 Lines: 24 Message-ID: References: <917dbf9e-f5aa-4a84-ba56-b1c1ff3e354e@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net VzSsCI/hqaMHXpEeGB6acg/yRgVSuNeAl1B/+NXT/zj4LoQVfR Cancel-Lock: sha1:mTCB9RbKZJWx9IlFbf8dHweCaMg= User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <917dbf9e-f5aa-4a84-ba56-b1c1ff3e354e@googlegroups.com> Xref: csiph.com comp.lang.pascal.delphi.misc:622 Sandeepan Kashyap schrieb: This code > Leng := Length(Edit1.Text); > SetLength(MyMatrix, leng); > for i := 1 to 3 do begin > begin > MyMatrix[i] := Edit1.text[i]; > end; > end; > end; > for i:= 1 to leng do begin > txt := txt + MyMatrix[i]; > end; > Label3.caption := txt; is equivalent to Label3.Caption := Edit1.Text; I don't understand what you want to do, please try to explain better. DoDi