Re: Difference between listbox...exchange and listbox...move?

Posted by Jenny, DelphiLand Team on February 17, 2009

In Reply to Re: Difference between listbox...exchange and listbox...move? posted by Lee p12462 on February 17, 2009

: Thanks Jenny,
: I understood most of your results but was confused by (...)
: so I wrote a "quickie" program to do the operations that you suggested.
: What you pointed out was that the MOVE removes the first item specified (#1) and causes all subsequent values to move up in the table. Then the removed first item (1) gets inserted at the position indicated by the second item specified (on the move statement) which was 3.

Lee, you're right.
I've corrected my typing error in this thread, otherwise it would be a bit too confusing for our other readers, with all that "A,B,C..." stuff.

Related articles

       

Follow Ups