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. While / Until

While / Until

Scheduled Pinned Locked Moved The Lounge
helptutorial
26 Posts 15 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.
  • OriginalGriffO OriginalGriff

    foreach (MistakeOf wife in Conversation)
    {
    yourFault = true;
    }

    Just let it lie... :laugh:

    Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

    J Offline
    J Offline
    Johnny J
    wrote on last edited by
    #5

    Well, you forgot a piece of code, but I doubt that it's gonna make any difference in this case:

    foreach (MistakeOf wife in Conversation)
    {
    if (pigs.Fly() || dailyWeatherStatusInHell == Cold)
    {
    yourFault = false;
    wife.ApologizeAndBringConsolationBeer();
    break;
    }

        yourFault = true;
    }
    

    LOL - this is actually more fun than coding for real... :laugh:

    Anything that is unrelated to elephants is irrelephant
    Anonymous
    -----
    The problem with quotes on the internet is that you can never tell if they're genuine
    Winston Churchill, 1944
    -----
    I'd just like a chance to prove that money can't make me happy.
    Me, all the time

    S 1 Reply Last reply
    0
    • N Nagy Vilmos

      I think [or I hope] that we all know the difference between while and until, both in English and Programese. Well Mrs Wife, after too many years married to me, still gets them the wrong way round. Mostly she just says while and never uses until. As an example, last night she said "I'm going to read while I go to bed" :confused: I don't know if it's just become so ingrained that it is stuck there or if there's something I can do, short of ECT, to stop her as until she keeps doing it I am getting really annoyed.

      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu Peter
      wrote on last edited by
      #6

      You may talk to her in Hungarian? A good practice for you, less mistakes for her...

      I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

      "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

      N 1 Reply Last reply
      0
      • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

        You may talk to her in Hungarian? A good practice for you, less mistakes for her...

        I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

        N Offline
        N Offline
        Nagy Vilmos
        wrote on last edited by
        #7

        Sometimes I speak in Hungarian but my Magyar is a lot worse than her English. That said, I'm not the one who gets paid extra because she speaks three languages; plus another two she can get by with.

        Kornfeld Eliyahu PeterK 1 Reply Last reply
        0
        • N Nagy Vilmos

          Sometimes I speak in Hungarian but my Magyar is a lot worse than her English. That said, I'm not the one who gets paid extra because she speaks three languages; plus another two she can get by with.

          Kornfeld Eliyahu PeterK Offline
          Kornfeld Eliyahu PeterK Offline
          Kornfeld Eliyahu Peter
          wrote on last edited by
          #8

          Perfect situation. You speak Hungarian - she fixes it, she speaks English, you fix it... :laugh:

          I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

          "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

          N 1 Reply Last reply
          0
          • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

            Perfect situation. You speak Hungarian - she fixes it, she speaks English, you fix it... :laugh:

            I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

            N Offline
            N Offline
            Nagy Vilmos
            wrote on last edited by
            #9

            No. No, I don't think so.

            OriginalGriffO Kornfeld Eliyahu PeterK 2 Replies Last reply
            0
            • N Nagy Vilmos

              No. No, I don't think so.

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

              Wise decision! :laugh:

              Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

              "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
              • N Nagy Vilmos

                No. No, I don't think so.

                Kornfeld Eliyahu PeterK Offline
                Kornfeld Eliyahu PeterK Offline
                Kornfeld Eliyahu Peter
                wrote on last edited by
                #11

                Than how you will talk to local after retirement? Or you won't planing on that?

                I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

                "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                N 1 Reply Last reply
                0
                • N Nagy Vilmos

                  I think [or I hope] that we all know the difference between while and until, both in English and Programese. Well Mrs Wife, after too many years married to me, still gets them the wrong way round. Mostly she just says while and never uses until. As an example, last night she said "I'm going to read while I go to bed" :confused: I don't know if it's just become so ingrained that it is stuck there or if there's something I can do, short of ECT, to stop her as until she keeps doing it I am getting really annoyed.

                  S Offline
                  S Offline
                  S Houghtelin
                  wrote on last edited by
                  #12

                  The fact that you understand what she means should be satisfactory, most guys never understand what the wife is talking about (or not, as the case may be). Consider yourself ahead of the game. :) There are a few phrases that my wife still uses in spite of my corrections, I’ve learned that the icy glare and cold dinners are not worth the effort to correct her… um, grammatical quirks.

                  It was broke, so I fixed it.

                  J 1 Reply Last reply
                  0
                  • N Nagy Vilmos

                    I think [or I hope] that we all know the difference between while and until, both in English and Programese. Well Mrs Wife, after too many years married to me, still gets them the wrong way round. Mostly she just says while and never uses until. As an example, last night she said "I'm going to read while I go to bed" :confused: I don't know if it's just become so ingrained that it is stuck there or if there's something I can do, short of ECT, to stop her as until she keeps doing it I am getting really annoyed.

                    B Offline
                    B Offline
                    BobJanova
                    wrote on last edited by
                    #13

                    "While" to mean "until" is valid Yorkshire dialect [wikipedia] [^]

                    C 1 Reply Last reply
                    0
                    • N Nagy Vilmos

                      I think [or I hope] that we all know the difference between while and until, both in English and Programese. Well Mrs Wife, after too many years married to me, still gets them the wrong way round. Mostly she just says while and never uses until. As an example, last night she said "I'm going to read while I go to bed" :confused: I don't know if it's just become so ingrained that it is stuck there or if there's something I can do, short of ECT, to stop her as until she keeps doing it I am getting really annoyed.

                      Richard DeemingR Online
                      Richard DeemingR Online
                      Richard Deeming
                      wrote on last edited by
                      #14

                      Well, Google claims that both "while" and "until" translate to "míg" in Hungarian, so I suppose a little confusion is understandable.


                      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                      N 1 Reply Last reply
                      0
                      • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                        Than how you will talk to local after retirement? Or you won't planing on that?

                        I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

                        N Offline
                        N Offline
                        Nagy Vilmos
                        wrote on last edited by
                        #15

                        My general everyday Magyar is enough, I survived 6 weeks last summer unaided by Her Wifeness.

                        1 Reply Last reply
                        0
                        • Richard DeemingR Richard Deeming

                          Well, Google claims that both "while" and "until" translate to "míg" in Hungarian, so I suppose a little confusion is understandable.


                          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                          N Offline
                          N Offline
                          Nagy Vilmos
                          wrote on last edited by
                          #16

                          Not quite. Mig is while, but closer to until is the postposition -ig So "Until bedtime" is "lefekvésig", where lefekvés is bedtime.

                          J 1 Reply Last reply
                          0
                          • N Nagy Vilmos

                            I think [or I hope] that we all know the difference between while and until, both in English and Programese. Well Mrs Wife, after too many years married to me, still gets them the wrong way round. Mostly she just says while and never uses until. As an example, last night she said "I'm going to read while I go to bed" :confused: I don't know if it's just become so ingrained that it is stuck there or if there's something I can do, short of ECT, to stop her as until she keeps doing it I am getting really annoyed.

                            J Offline
                            J Offline
                            JimmyRopes
                            wrote on last edited by
                            #17

                            Nagy Vilmos wrote:

                            last night she said "I'm going to read while I go to bed

                            Get over it. :rolleyes:

                            The report of my death was an exaggeration - Mark Twain
                            Simply Elegant Designs JimmyRopes Designs
                            I'm on-line therefore I am. JimmyRopes

                            1 Reply Last reply
                            0
                            • S S Houghtelin

                              The fact that you understand what she means should be satisfactory, most guys never understand what the wife is talking about (or not, as the case may be). Consider yourself ahead of the game. :) There are a few phrases that my wife still uses in spite of my corrections, I’ve learned that the icy glare and cold dinners are not worth the effort to correct her… um, grammatical quirks.

                              It was broke, so I fixed it.

                              J Offline
                              J Offline
                              JimmyRopes
                              wrote on last edited by
                              #18

                              S Houghtelin wrote:

                              I’ve learned that the icy glare and cold dinners are not worth the effort to correct her… um, grammatical quirks.

                              Good choice. :doh:

                              The report of my death was an exaggeration - Mark Twain
                              Simply Elegant Designs JimmyRopes Designs
                              I'm on-line therefore I am. JimmyRopes

                              1 Reply Last reply
                              0
                              • N Nagy Vilmos

                                Not quite. Mig is while, but closer to until is the postposition -ig So "Until bedtime" is "lefekvésig", where lefekvés is bedtime.

                                J Offline
                                J Offline
                                JimmyRopes
                                wrote on last edited by
                                #19

                                Nagy Vilmos wrote:

                                Not quite. Mig is while, but closer to until is the postposition -ig So "Until bedtime" is "lefekvésig", where lefekvés is bedtime.

                                Do you like to sleep alone. How does that translate? :doh:

                                The report of my death was an exaggeration - Mark Twain
                                Simply Elegant Designs JimmyRopes Designs
                                I'm on-line therefore I am. JimmyRopes

                                1 Reply Last reply
                                0
                                • N Nagy Vilmos

                                  I think [or I hope] that we all know the difference between while and until, both in English and Programese. Well Mrs Wife, after too many years married to me, still gets them the wrong way round. Mostly she just says while and never uses until. As an example, last night she said "I'm going to read while I go to bed" :confused: I don't know if it's just become so ingrained that it is stuck there or if there's something I can do, short of ECT, to stop her as until she keeps doing it I am getting really annoyed.

                                  S Offline
                                  S Offline
                                  Septimus Hedgehog
                                  wrote on last edited by
                                  #20

                                  It doesn't matter which word she uses; you are still wrong.

                                  If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.

                                  1 Reply Last reply
                                  0
                                  • N Nagy Vilmos

                                    I think [or I hope] that we all know the difference between while and until, both in English and Programese. Well Mrs Wife, after too many years married to me, still gets them the wrong way round. Mostly she just says while and never uses until. As an example, last night she said "I'm going to read while I go to bed" :confused: I don't know if it's just become so ingrained that it is stuck there or if there's something I can do, short of ECT, to stop her as until she keeps doing it I am getting really annoyed.

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

                                    Nagy Vilmos wrote:

                                    "I'm going to read while I go to bed"

                                    She's a Yorkshire lass then?

                                    1 Reply Last reply
                                    0
                                    • J Johnny J

                                      Well, you forgot a piece of code, but I doubt that it's gonna make any difference in this case:

                                      foreach (MistakeOf wife in Conversation)
                                      {
                                      if (pigs.Fly() || dailyWeatherStatusInHell == Cold)
                                      {
                                      yourFault = false;
                                      wife.ApologizeAndBringConsolationBeer();
                                      break;
                                      }

                                          yourFault = true;
                                      }
                                      

                                      LOL - this is actually more fun than coding for real... :laugh:

                                      Anything that is unrelated to elephants is irrelephant
                                      Anonymous
                                      -----
                                      The problem with quotes on the internet is that you can never tell if they're genuine
                                      Winston Churchill, 1944
                                      -----
                                      I'd just like a chance to prove that money can't make me happy.
                                      Me, all the time

                                      S Offline
                                      S Offline
                                      Shelby Robertson
                                      wrote on last edited by
                                      #22

                                      Johnny J. wrote:

                                      foreach (MistakeOf wife in Conversation) { if (pigs.Fly() || dailyWeatherStatusInHell == Cold) { yourFault = false; wife.ApologizeAndBringConsolationBeer(); break; }   yourFault = true; }

                                      for(;;)
                                      {
                                      YourFault = true;
                                      }

                                      FTFY

                                      CPallini wrote:

                                      You cannot argue with agile people so just take the extreme approach and shoot him. :Smile:

                                      1 Reply Last reply
                                      0
                                      • N Nagy Vilmos

                                        I think [or I hope] that we all know the difference between while and until, both in English and Programese. Well Mrs Wife, after too many years married to me, still gets them the wrong way round. Mostly she just says while and never uses until. As an example, last night she said "I'm going to read while I go to bed" :confused: I don't know if it's just become so ingrained that it is stuck there or if there's something I can do, short of ECT, to stop her as until she keeps doing it I am getting really annoyed.

                                        R Offline
                                        R Offline
                                        Rob Grainger
                                        wrote on last edited by
                                        #23

                                        Unless she's reading while she walks to the bed, in which case that's totally correct.

                                        "If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.

                                        1 Reply Last reply
                                        0
                                        • N Nagy Vilmos

                                          I think [or I hope] that we all know the difference between while and until, both in English and Programese. Well Mrs Wife, after too many years married to me, still gets them the wrong way round. Mostly she just says while and never uses until. As an example, last night she said "I'm going to read while I go to bed" :confused: I don't know if it's just become so ingrained that it is stuck there or if there's something I can do, short of ECT, to stop her as until she keeps doing it I am getting really annoyed.

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

                                          Nagy Vilmos wrote:

                                          I'm going to read while I go to bed

                                          Forget the while/until issue - she's still using GOTO!!!!!!

                                          T 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