in reply to Re^6: [OT] Swapping buffers in place.
in thread [OT] Swapping buffers in place.

Your latter example a b c d e f 1 2 3 works for me calling swapbuffers 6, \@buffer. Your example looks as if you called swapbuffers 8, \@buffer. It also seems to be very similar to graff's proposal 1118234 that I do not quite understand still.

Replies are listed 'Best First'.
Re^8: [OT] Swapping buffers in place.
by BrowserUk (Patriarch) on Mar 01, 2015 at 18:35 UTC
    Your example looks as if you called swapbuffers 8, \@buffer.

    You're exactly right! I changed the array, but not the number. I apologise. And thank you.

    It also seems to be very similar to graff's proposal 1118234 that I do not quite understand still.

    I "understand" his logic; but coding it defeated me before I needed sleep.

    And I now appear to have two working solutions, so I may never go back to it...


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority". I'm with torvalds on this
    In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked