What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Coding: swapping items in a row

Coding: swapping items in a row
Author: Message:
KeyStorm
Elite Member
*****

Avatar
Inn-sewer-ants-pollie-sea

Posts: 2156
Reputation: 45
38 / Male / –
Joined: Jan 2003
O.P. RE: Coding: swapping items in a row
Yeah, well.
That's obviously the simple way to swap 2 items, but problems appear when for example:

1- We have a "bouncing-swap" where the target item should be swapped with a third one and so on. E.g. swap 2 with 5 and 5 with 3.

2- We have several swaps targeting the same slot: swapping 2 with 5, 4 with 5 and 1 with 5, what would mean: swap 2 with 5,  5 with 4 and 4 with 1 (back to problem nr. 1).

Tbh, Lobster, I could've done that, I'm not that n00b, you know ;)
07-11-2004 08:48 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Coding: swapping items in a row - by KeyStorm on 07-11-2004 at 06:25 PM
RE: Coding: swapping items in a row - by fluffy_lobster on 07-11-2004 at 06:30 PM
RE: Coding: swapping items in a row - by KeyStorm on 07-11-2004 at 08:48 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On