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.
  • 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
          • L Lost User

            Nagy Vilmos wrote:

            I'm going to read while I go to bed

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

            T Offline
            T Offline
            TinTinTiTin
            wrote on last edited by
            #25

            Good catch :thumbsup:

            A person who never made a mistake never tried anything new -Einstein, Albert

            1 Reply Last reply
            0
            • B BobJanova

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

              C Offline
              C Offline
              Clumpco
              wrote on last edited by
              #26

              Agreed, but in that case she should say "I'm going to read while I go to the foot of our stairs"

              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