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. Programming Question of the Week?

Programming Question of the Week?

Scheduled Pinned Locked Moved The Lounge
questionfunctional
29 Posts 13 Posters 3 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.
  • T Tim Carmichael

    Ah, yes... line numbering... and then you realize you need a chunk of code in the middle and no line numbers are left. That created a need for a program that could renumber your code. Fondly remembered...

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

    IIRC most, if not all, BASIC systems supported a RENUM command.

    veni bibi saltavi

    T 1 Reply Last reply
    0
    • N Nagy Vilmos

      IIRC most, if not all, BASIC systems supported a RENUM command.

      veni bibi saltavi

      T Offline
      T Offline
      Tim Carmichael
      wrote on last edited by
      #20

      Missing in Commodore BASIC and C-64 BASIC which was an even older version of Commodore BASIC. Commodore BASIC had decent garbage handling; C-64.. not so much.

      1 Reply Last reply
      0
      • J Johnny J

        Shouldn't there have been a _GoTo_ somewhere in there? :confused: And an _On Error Resume Next_

        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
        Sinisa Hajnal
        wrote on last edited by
        #21

        That is VB6, not VB.NET. VB.NET is object oriented, VB6 is language of MS office macros

        Richard DeemingR J 2 Replies Last reply
        0
        • S Sinisa Hajnal

          That is VB6, not VB.NET. VB.NET is object oriented, VB6 is language of MS office macros

          Richard DeemingR Offline
          Richard DeemingR Offline
          Richard Deeming
          wrote on last edited by
          #22

          VBA is the language of Office macros. It's like VB6-lite - all the horrible syntax and design decisions, with some extra restrictions on top. And VB.NET still supports both On Error ... and Goto.


          "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

          S 1 Reply Last reply
          0
          • S Sinisa Hajnal

            That is VB6, not VB.NET. VB.NET is object oriented, VB6 is language of MS office macros

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

            Sinisa Hajnal wrote:

            VB.NET is object oriented

            Yes, but you can still use GoTo! ;)

            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
            • M megaadam

              I don't get this fad in "functional programming". Who can recommend a decent dysfunctional language?

              Life is too shor

              M Offline
              M Offline
              Marc Clifton
              wrote on last edited by
              #24

              megaadam wrote:

              Who can recommend a decent dysfunctional language?

              Python Ruby VB PHP Javascript C++ (yes, C++, because from what I've seen, what was once elegant has become a monster in symbol obfuscation hell) Marc

              Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

              1 Reply Last reply
              0
              • J Johnny J

                Sinisa Hajnal wrote:

                VB.NET is object oriented

                Yes, but you can still use GoTo! ;)

                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
                Sinisa Hajnal
                wrote on last edited by
                #25

                So? You can do it in C# too and no one complains :) See MSDN [^]

                1 Reply Last reply
                0
                • Richard DeemingR Richard Deeming

                  VBA is the language of Office macros. It's like VB6-lite - all the horrible syntax and design decisions, with some extra restrictions on top. And VB.NET still supports both On Error ... and Goto.


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

                  S Offline
                  S Offline
                  Sinisa Hajnal
                  wrote on last edited by
                  #26

                  On Error... legacy. Just because it exists, doesn't mean you have to use it. You could use regex to traverse XML documents and yet, most people use XmlDocument and related classes Or you could use COBOL... goto exists in C# too and I'm sure there is some obscure reference or use for it in java too :) I know for sure it is used in various SQL variations in stored procedures X|

                  1 Reply Last reply
                  0
                  • M megaadam

                    I don't get this fad in "functional programming". Who can recommend a decent dysfunctional language?

                    Life is too shor

                    C Offline
                    C Offline
                    Clifford Nelson
                    wrote on last edited by
                    #27

                    APL...A Programming Language (APL (programming language) - Wikipedia, the free encyclopedia[^]

                    1 Reply Last reply
                    0
                    • OriginalGriffO OriginalGriff

                      COBOL It was damn dysfunctional when I wrote in it!

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

                      M Offline
                      M Offline
                      Mark_Wallace
                      wrote on last edited by
                      #28

                      True, it's procedural -- like lawyers

                      I wanna be a eunuchs developer! Pass me a bread knife!

                      1 Reply Last reply
                      0
                      • OriginalGriffO OriginalGriff

                        A Haiku about VB.NET coding:

                        No no no no no
                        No no no no no no no
                        No no no no no

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

                        M Offline
                        M Offline
                        Mark_Wallace
                        wrote on last edited by
                        #29

                        Must write VB code? Only one thing you can do Call JSOP

                        I wanna be a eunuchs developer! Pass me a bread knife!

                        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