🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.delphi
Article #345407

Re: Tablice dynamiczne - kłopot z rozmiarem.

#345407
From: mt
Date: Fri, 02 Dec 2016 21:37
19 lines
1816 bytes
W dniu 2016-12-02 o 20:59, mt pisze:
> Witam,
> Delphi 10.1 berlin starter mam taką deklarację tablicy:
>
> gvTaskList: array of array of Pointer = nil;
>
> i niby wszystko jest ok ale gdy pojawiły się problemy z odczytem i
> zapisem zacząłem debugować.
> Ku mojemu zdumieniu okazało się że po uruchomieniu programu tablica ma
> rozmiar 500 pozycji tzn. debuger pokazuje ((),...()).
> a po takiej linii SetLength(gvTaskList, Length(gvTaskList)+1, 3);
> tablica ma rozmiar 501x3.
> Czy możecie mi wyjaśnić jak sprawdzić czy tablica jest pusta?
>
> Pozdrawiam
> Marek
>
Ehh.. te nowości. Usunąłem exe i wszystkie dcu z profilu debug i działa 
dobrze. Bynajmniej na razie.
Technical Details
Message-ID: <5841e967$0$5152$65785112@news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!enother.net!enother.net!enother.net!peer04.fr7!futter-mich.highwinds-media.com!news.highwinds-media.com!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-a-02.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
References: <5841d26d$0$5147$65785112@news.neostrada.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!enother.net!enother.net!enother.net!peer04.fr7!futter-mich.highwinds-media.com!news.highwinds-media.com!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-a-02.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
Subject: Re: Tablice dynamiczne - kłopot z rozmiarem.
Newsgroups: pl.comp.lang.delphi
References: <5841d26d$0$5147$65785112@news.neostrada.pl>
From: mt <marek-embers@wp.pl>
Date: Fri, 2 Dec 2016 22:37:08 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <5841d26d$0$5147$65785112@news.neostrada.pl>
Lines: 19
Message-ID: <5841e967$0$5152$65785112@news.neostrada.pl>
Organization: Telekomunikacja Polska
NNTP-Posting-Host: 83.31.142.74
X-Trace: 1480714599 unt-rea-a-01.news.neostrada.pl 5152 83.31.142.74:28161
X-Complaints-To: abuse@news.neostrada.pl
X-Received-Bytes: 1590
X-Received-Body-CRC: 3168985829
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit