Article View: alt.pl.comp.lang.csharp
Article #246Re: Czegos chyba nie kapuje :(
From: Daniel Dusiñski www.dusinski.prv...
Date: Thu, 27 Nov 2003 23:26
Date: Thu, 27 Nov 2003 23:26
21 lines
1750 bytes
1750 bytes
> zamiast while () {} zrob do {} while ()
> mam nadzieje, ze taka konstrukcja jest w C# :D
Konstrukcja " do{} while() " jest ...
... ale tutaj nie pomo�e.
B��dny jest w og�le zapis: " tekst[x].ToString() != null "
Wyja�nienie:
(1) Dla wszystkich x < tekst.Length wyra�enie "tekst[x].ToString co� tam
zwr�ci (jeszcze jest OK)
(2) Ale kiedy dojdziemy do x == tekst.Length ... to takie wyra�enie NIC nie
zwr�ci. Zanim zd��y cokolwiek zwr�ci� zostanie zg�oszony wyj�tek przekroczenia
zakresu.
> Daniel pozdrowionka z kola .NET ;)
Dzi�ki ;-))))
--
Pozdrawiam, | www.dusinski.prv.pl gg 4563846
Daniel | Aby wys�a� do mnie maila wejd� na stron� www
Technical Details
Message-ID:
<bq617r$e3s$1@news.atman.pl>Path:
mbox-mo1.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!news.atman.pl!not-for-mailReferences:
<bq5tah$nou$1@inews.gazeta.pl> <bq5ua7$9pf$1@news.atman.pl> <1u4xzt499o6w4.8wnss55slich$.dlg@40tude.net>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!news.atman.pl!not-for-mail From: Daniel Dusiñski, www.dusinski.prv.pl <WejdzN...@dusinski.prv.pl> Newsgroups: alt.pl.comp.lang.csharp Subject: Re: Czegos chyba nie kapuje :( Date: Fri, 28 Nov 2003 00:26:49 +0100 Organization: ATMAN Lines: 24 Message-ID: <bq617r$e3s$1@news.atman.pl> References: <bq5tah$nou$1@inews.gazeta.pl> <bq5ua7$9pf$1@news.atman.pl> <1u4xzt499o6w4.8wnss55slich$.dlg@40tude.net> NNTP-Posting-Host: staticline634.toya.net.pl X-Trace: news.atman.pl 1069975611 14460 217.113.228.59 (27 Nov 2003 23:26:51 GMT) X-Complaints-To: use...@atman.pl NNTP-Posting-Date: Thu, 27 Nov 2003 23:26:51 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit