What the.....?

What the.....?

    while (ptf.ShowModal = mrOk) do
    begin
        ....
    end;

Comments

  1. Thats excelent. That must be the new version of the "Are you bored"/"Type a number between 1..1000"  dialog flood hoax. Skips the configuration and jumps straight to the core of action.

    ReplyDelete
  2. The wild thing is there is a Continue call in there.....

    ReplyDelete
  3. No! it says "Press abort to cancel" but only "OK" is displayed :D

    ReplyDelete
  4. Actually, if you stop to think about it for a minute, it's kind of clever.....

    ReplyDelete
  5. Without context, it is hard to say if this is good or bad code.

    ReplyDelete
  6. Actually, it's kind of cool the more I think about it, but it sure made me stop and think.

    ReplyDelete

Post a Comment