Board index » delphi » Re: Argh! Delphi 2005! Argh! (part 2)
Liz
Delphi Developer |
Liz
Delphi Developer |
Re: Argh! Delphi 2005! Argh! (part 2)2004-11-30 05:47:54 AM delphi120 Quote"Hrvoje Brozovic" <XXXX@XXXXX.COM>wrote in |
Rudy Velthuis [TeamB]
Delphi Developer |
2004-11-30 07:15:21 AM
Re: Argh! Delphi 2005! Argh! (part 2)
Hrvoje Brozovic writes:
QuoteDeeply disappointed. over the array. -- Rudy Velthuis [TeamB] "Chaos Theory is a new theory invented by scientists panicked by the thought that the public were beginning to understand the old ones." -- Mike Barfield. |
Rudy Velthuis [TeamB]
Delphi Developer |
2004-11-30 07:18:42 AM
Re: Argh! Delphi 2005! Argh! (part 2)
marc hoffman writes:
Quote>with using for in loop, I am telling For arrays, it is /probably/ from low index to high index. The only guarantee you have is that each item will be visited, and only once. -- Rudy Velthuis [TeamB] "Ever notice when you blow in a dog's face he gets mad at you, but when you take him in a car he sticks his head out the window?" -- George Carlin |
Ingvar Nilsen
Delphi Developer |
2004-11-30 03:19:47 PM
Re: Argh! Delphi 2005! Argh! (part 2)
Rudy Velthuis [TeamB] writes:
QuoteOf course that order depends on how the enumerator is coded, i.e. DataRows however, appear as sorted, to complicate the matter... In general, one just expects it to iterate the same way as it would from low index to high index, I really doubt the use of "probably" is required here. -- Ingvar Nilsen |
Ingvar Nilsen
Delphi Developer |
2004-11-30 04:07:09 PM
Re: Argh! Delphi 2005! Argh! (part 2)
Hrvoje Brozovic writes:
QuoteDeeply disappointed. If an indexed integer were allowed to be altered, it would practically mean that you could replace the pointer to the object too (in case the variable is an object) which would have no meaning at all. In your case, I wouldn't be deeply disappointed, just slightly surprised :) -- Ingvar Nilsen |
Rudy Velthuis [TeamB]
Delphi Developer |
2004-11-30 08:22:59 PM
Re: Argh! Delphi 2005! Argh! (part 2)
Ingvar Nilsen writes:
QuoteIn general, one just expects it to iterate the same way as it would -- Rudy Velthuis [TeamB] "I choose a block of marble and chop off whatever I don't need." -- Francois-Auguste Rodin (1840-1917), when asked how he managed to make his remarkable statues |
Jeffrey A. Wormsley
Delphi Developer |
2004-11-30 11:41:27 PM
Re: Argh! Delphi 2005! Argh! (part 2)
"Rudy Velthuis [TeamB]" <XXXX@XXXXX.COM>wrote in
QuoteFor arrays, it is /probably/ from low index to high index. The only Jeff. |
Rudy Velthuis [TeamB]
Delphi Developer |
2004-12-01 02:29:45 AM
Re: Argh! Delphi 2005! Argh! (part 2)
Jeffrey A. Wormsley writes:
Quote"Rudy Velthuis [TeamB]" <XXXX@XXXXX.COM>wrote in -- Rudy Velthuis [TeamB] "Ever stop to think, and forget to start again?" -- bumper sticker |
Jeffrey A. Wormsley
Delphi Developer |
2004-12-01 02:51:21 AM
Re: Argh! Delphi 2005! Argh! (part 2)
"Rudy Velthuis [TeamB]" <XXXX@XXXXX.COM>wrote in
QuoteI didn't look what happens in Win32, but I know that the enumerator can be disconcerting when you set a breakpoint in the loop and watch your index variable go the other way. It only seems to do this for simple loops, though. Check this thread... tinyurl.com/46dxv Jeff. |
Rudy Velthuis [TeamB]
Delphi Developer |
2004-12-01 04:06:07 AM
Re: Argh! Delphi 2005! Argh! (part 2)
Jeffrey A. Wormsley writes:
QuoteIn Win32, a simple for loop will work backwards instead of forwards. always counts from low to high. -- Rudy Velthuis [TeamB] "Barabási's Law of Programming: Program development ends when the program does what you expect it to do ?whether it is correct or not." -- Albert-Lászl?Barabási |
Jeffrey A. Wormsley
Delphi Developer |
2004-12-06 11:30:51 PM
Re: Argh! Delphi 2005! Argh! (part 2)
"Liz" <XXXX@XXXXX.COM>wrote in
Quote>"Hrvoje Brozovic" <XXXX@XXXXX.COM>wrote in Numbers[Number] shr 1; Jeff. |
Ximian
Delphi Developer |
2004-12-07 06:15:46 AM
Re: Argh! Delphi 2005! Argh! (part 2)QuoteMake sure you vote in QC on bugs you would like fixed, or at least there are so many atm I would need about 30 votes for the urgent ones.. :/ |
Rudy Velthuis [TeamB]
Delphi Developer |
2004-12-07 06:23:39 AM
Re: Argh! Delphi 2005! Argh! (part 2)
Ximian writes:
Quote>Make sure you vote in QC on bugs you would like fixed, or at least -- Rudy Velthuis [TeamB] "Friends applaud, the Comedy is over." - Ludwig von Beethoven, dying words |
JED
Delphi Developer |
2004-12-07 06:33:36 AM
Re: Argh! Delphi 2005! Argh! (part 2)
Rudy Velthuis [TeamB] writes:
QuoteQC, being a community project, needs sysops. These are usually not ** Currently looking for a couple of testers. ** More information in my blog! +++++++++++++++++++++++++++++++++ Sneak Peek: JED, QC - IDE Edition at www.alphalink.com.au/~jed/QC/ Blog: jedqc.blogspot.com/ |
Rudy Velthuis [TeamB]
Delphi Developer |
2004-12-07 06:39:16 AM
Re: Argh! Delphi 2005! Argh! (part 2)
JED writes:
QuoteRudy Velthuis [TeamB] writes: Rudy Velthuis [TeamB] "The right to swing my{*word*128}ends where the other man's nose begins." - Oliver Wendell Holmes (1841-1935) |