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. Developers cannot live without it.

Developers cannot live without it.

Scheduled Pinned Locked Moved The Lounge
htmlcomtoolsquestion
30 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.
  • H Henry Minute

    Only when he is playing against Albert Ross.

    Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

    D Offline
    D Offline
    Dalek Dave
    wrote on last edited by
    #7

    Did a little Birdie tell you that?

    ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

    H 1 Reply Last reply
    0
    • C CPallini

      The goto statement! Freshly released Lua 5.2[^] provides it. :rolleyes:

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
      [My articles]

      S Offline
      S Offline
      StM0n
      wrote on last edited by
      #8

      No language would be perfect w/o goto...

      goto... the little scratch on the roof of your mouth that would heal if only you could stop tonguing it, but you can't.

      (yes|no|maybe)*

      D 1 Reply Last reply
      0
      • S StM0n

        No language would be perfect w/o goto...

        goto... the little scratch on the roof of your mouth that would heal if only you could stop tonguing it, but you can't.

        (yes|no|maybe)*

        D Offline
        D Offline
        Dalek Dave
        wrote on last edited by
        #9

        :thumbsup: :)

        ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

        1 Reply Last reply
        0
        • C CPallini

          The goto statement! Freshly released Lua 5.2[^] provides it. :rolleyes:

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
          [My articles]

          D Offline
          D Offline
          Dalek Dave
          wrote on last edited by
          #10

          To be fair I only use it in Try exceptions.

          ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

          1 Reply Last reply
          0
          • D Dalek Dave

            Did a little Birdie tell you that?

            ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

            H Offline
            H Offline
            Henry Minute
            wrote on last edited by
            #11

            Nope! It was a military chap. A Colonel something-or-other.

            Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

            D 1 Reply Last reply
            0
            • H Henry Minute

              Nope! It was a military chap. A Colonel something-or-other.

              Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

              D Offline
              D Offline
              Dalek Dave
              wrote on last edited by
              #12

              A Colonel? He has come a Fair Way.

              ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

              C 1 Reply Last reply
              0
              • C CPallini

                The goto statement! Freshly released Lua 5.2[^] provides it. :rolleyes:

                If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                [My articles]

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

                I use the goto statement all the time! :-D I need to goto the hardware store. Goto to you room! I have to goto the bathroom. ..and... Goto hell!

                It was broke, so I fixed it.

                1 Reply Last reply
                0
                • C CPallini

                  The goto statement! Freshly released Lua 5.2[^] provides it. :rolleyes:

                  If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                  This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                  [My articles]

                  C Offline
                  C Offline
                  Chris Losinger
                  wrote on last edited by
                  #14

                  if it's good enough for the CPU, it's good enough for me.

                  image processing toolkits | batch image processing

                  1 Reply Last reply
                  0
                  • D Dalek Dave

                    A Colonel? He has come a Fair Way.

                    ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                    C Offline
                    C Offline
                    cptKoala
                    wrote on last edited by
                    #15

                    Hmm... Birdy and colonel... Why am I thinking of Michael Caine in 'The Eagle Has Landed'?

                    D 1 Reply Last reply
                    0
                    • C cptKoala

                      Hmm... Birdy and colonel... Why am I thinking of Michael Caine in 'The Eagle Has Landed'?

                      D Offline
                      D Offline
                      Dalek Dave
                      wrote on last edited by
                      #16

                      A film about Germans. You should never mix Germans and Golf, they always end up in the Bunker.

                      ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                      C 1 Reply Last reply
                      0
                      • D Dalek Dave

                        A film about Germans. You should never mix Germans and Golf, they always end up in the Bunker.

                        ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                        C Offline
                        C Offline
                        cptKoala
                        wrote on last edited by
                        #17

                        And here's me thinking Golf was German :doh:

                        D 1 Reply Last reply
                        0
                        • C cptKoala

                          And here's me thinking Golf was German :doh:

                          D Offline
                          D Offline
                          Dalek Dave
                          wrote on last edited by
                          #18

                          This[^] is German. This[^] is Scottish.

                          ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                          C 1 Reply Last reply
                          0
                          • D Dalek Dave

                            This[^] is German. This[^] is Scottish.

                            ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                            C Offline
                            C Offline
                            cptKoala
                            wrote on last edited by
                            #19

                            Aah yes... The second one is definitely not German as it is missing trenches... Which gently brings me to an episode of Fawlty Towers. John can sure swing his legs about in the air.

                            1 Reply Last reply
                            0
                            • C CPallini

                              The goto statement! Freshly released Lua 5.2[^] provides it. :rolleyes:

                              If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                              This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                              [My articles]

                              V Offline
                              V Offline
                              vl2
                              wrote on last edited by
                              #20

                              That's a very wise decision. Lua is a meta-language. Any meta-language MUST provide goto - otherwise implementing higher level constructs could be too complicated.

                              C 1 Reply Last reply
                              0
                              • V vl2

                                That's a very wise decision. Lua is a meta-language. Any meta-language MUST provide goto - otherwise implementing higher level constructs could be too complicated.

                                C Offline
                                C Offline
                                CPallini
                                wrote on last edited by
                                #21

                                :confused: Are you joking? :-D

                                If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                                This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                                [My articles]

                                V 1 Reply Last reply
                                0
                                • C CPallini

                                  :confused: Are you joking? :-D

                                  If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                                  This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                                  [My articles]

                                  V Offline
                                  V Offline
                                  vl2
                                  wrote on last edited by
                                  #22

                                  No, I'm 100% serious. A typical example: implementing a high-level eDSL for, say, generating a Packrat parser out of the PEG grammar. The most straghtforward translation scheme will involve making a function for each terminal, with a single "failure" label at the end, and all the failed sub-expressions will just goto there. But for a target language without a goto, a compilation scheme would be significantly more complicated.

                                  C 1 Reply Last reply
                                  0
                                  • V vl2

                                    No, I'm 100% serious. A typical example: implementing a high-level eDSL for, say, generating a Packrat parser out of the PEG grammar. The most straghtforward translation scheme will involve making a function for each terminal, with a single "failure" label at the end, and all the failed sub-expressions will just goto there. But for a target language without a goto, a compilation scheme would be significantly more complicated.

                                    C Offline
                                    C Offline
                                    CPallini
                                    wrote on last edited by
                                    #23

                                    That's just a 'lack of goto' problem. I cannot understand why you define Lua 'meta-language'. Furthermore, in my opinion, it is a complete (and fairly powerful) language.

                                    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                                    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                                    [My articles]

                                    V 1 Reply Last reply
                                    0
                                    • C CPallini

                                      The goto statement! Freshly released Lua 5.2[^] provides it. :rolleyes:

                                      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                                      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                                      [My articles]

                                      M Offline
                                      M Offline
                                      Mark AJA
                                      wrote on last edited by
                                      #24

                                      In BBC BASIC "On Error Off" is used to turn off any error trapping. In Visual Basic "On Error Goto 0" is used to turn off error trapping. But it doesn't go to line zero when an error occur it displays a message and exits the program. So the GOTO command survives but doesn't go to the line you asked it to goto.

                                      1 Reply Last reply
                                      0
                                      • C CPallini

                                        The goto statement! Freshly released Lua 5.2[^] provides it. :rolleyes:

                                        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                                        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                                        [My articles]

                                        Sander RosselS Offline
                                        Sander RosselS Offline
                                        Sander Rossel
                                        wrote on last edited by
                                        #25

                                        On Error Go To Bed :)

                                        It's an OO world.

                                        public class Naerling : Lazy<Person>{
                                        public void DoWork(){ throw new NotImplementedException(); }
                                        }

                                        C 1 Reply Last reply
                                        0
                                        • Sander RosselS Sander Rossel

                                          On Error Go To Bed :)

                                          It's an OO world.

                                          public class Naerling : Lazy<Person>{
                                          public void DoWork(){ throw new NotImplementedException(); }
                                          }

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

                                          public class Naerling : Person{
                                          public void DoWork(){ throw Unknown(); }
                                          }

                                          FFY. :)

                                          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                                          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                                          [My articles]

                                          Sander RosselS 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