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. The Lounge
  3. Thought of the Day

Thought of the Day

Scheduled Pinned Locked Moved The Lounge
cssquestion
25 Posts 12 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.
  • P PhilLenoir

    Is a void function going to the toilet and expecting nothing in return?

    Life is like a s**t sandwich; the more bread you have, the less s**t you eat.

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #16

    Hi Phil, I agree with you. It's a s**t,only a formality for a programmer.

    1 Reply Last reply
    0
    • P PhilLenoir

      Don't forget to prevent buffer overrun

      Life is like a s**t sandwich; the more bread you have, the less s**t you eat.

      Mike HankeyM Offline
      Mike HankeyM Offline
      Mike Hankey
      wrote on last edited by
      #17

      Taken care of in the try...catch...finally

      New version: WinHeist Version 2.1.0 When you are dead you don't know it, it's only difficult for others. It's the same when you're stupid.

      P 1 Reply Last reply
      0
      • Mike HankeyM Mike Hankey

        Taken care of in the try...catch...finally

        New version: WinHeist Version 2.1.0 When you are dead you don't know it, it's only difficult for others. It's the same when you're stupid.

        P Offline
        P Offline
        PhilLenoir
        wrote on last edited by
        #18

        In this case I think the old VB On Error GoTo is preferable to a Catch block!

        Life is like a s**t sandwich; the more bread you have, the less s**t you eat.

        1 Reply Last reply
        0
        • Mike HankeyM Mike Hankey

          Depends on whether you flush() before return?

          New version: WinHeist Version 2.1.0 When you are dead you don't know it, it's only difficult for others. It's the same when you're stupid.

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #19

          As long as he Disposes properly, I don't mind!

          Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          1 Reply Last reply
          0
          • P PhilLenoir

            Is a void function going to the toilet and expecting nothing in return?

            Life is like a s**t sandwich; the more bread you have, the less s**t you eat.

            W Offline
            W Offline
            Wonde Tadesse
            wrote on last edited by
            #20

            Does the void function has

            out

            parameter ?

            // Suppose language is C#

            Wonde Tadesse

            K 1 Reply Last reply
            0
            • W Wonde Tadesse

              Does the void function has

              out

              parameter ?

              // Suppose language is C#

              Wonde Tadesse

              K Offline
              K Offline
              kmoorevs
              wrote on last edited by
              #21

              1||2 :laugh:

              "Go forth into the source" - Neal Morse

              W 1 Reply Last reply
              0
              • K kmoorevs

                1||2 :laugh:

                "Go forth into the source" - Neal Morse

                W Offline
                W Offline
                Wonde Tadesse
                wrote on last edited by
                #22

                Can be both.

                Wonde Tadesse

                K 1 Reply Last reply
                0
                • R R Giskard Reventlov

                  I'll pass on that.

                  T Offline
                  T Offline
                  TheGreatAndPowerfulOz
                  wrote on last edited by
                  #23

                  LMAO!

                  #SupportHeForShe

                  If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun Only 2 things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

                  1 Reply Last reply
                  0
                  • W Wonde Tadesse

                    Can be both.

                    Wonde Tadesse

                    K Offline
                    K Offline
                    kmoorevs
                    wrote on last edited by
                    #24

                    Wonde Tadesse wrote:

                    Can be both.

                    Then, I suppose 1|2 should cover all the bases. :laugh:

                    "Go forth into the source" - Neal Morse

                    1 Reply Last reply
                    0
                    • P PhilLenoir

                      Is a void function going to the toilet and expecting nothing in return?

                      Life is like a s**t sandwich; the more bread you have, the less s**t you eat.

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #25

                      +5 because, unlike a certain other poster, your thought of the day seems original - at least Google hadn't heard it before :)

                      PooperPig - Coming Soon

                      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