Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Weird and The Wonderful
  4. Another loop bites the dust

Another loop bites the dust

Scheduled Pinned Locked Moved The Weird and The Wonderful
testingbeta-testingcareer
21 Posts 9 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Lost User

    I just remembered this one: Programmer had job of writing report output - and the user could select the number of copies. Do PrintReport(); numberOfCopies = numberOfCopies - 1; Until numberOfCopies = 0; Worked fine in his testing, even passed system testing. Then a user decided they didn't want to print after all and, instead of cancelling, selected 0 copies... They replaced the paper in the printer twice before realising the same report was still printing.

    Take a chill pill, Daddy-o .\\axxx (That's an 'M')

    S Offline
    S Offline
    Spacix One
    wrote on last edited by
    #21

    you mean they didn't want 4294967294 copies??? (till it reached zero again)


    -Spacix All your skynet questions[^] belong to solved


    I dislike the black-and-white voting system on questions/answers. X|


    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups