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. WWWBasic - All those years of GWBASIC finally pays off!

WWWBasic - All those years of GWBASIC finally pays off!

Scheduled Pinned Locked Moved The Lounge
javascripthtmlcomtoolslearning
20 Posts 13 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 Nish Nishant

    [GitHub - google/wwwbasic: WWWBasic is an implementation of BASIC (Beginner's All-purpose Symbolic Instruction Code) designed to be easy to run on the Web.](https://github.com/google/wwwbasic) Sample code :

    <html>
    <head>
    <script src="https://google.github.io/wwwbasic/wwwbasic.js"></script>
    <script type="text/basic">
    PRINT "Hello World!"
    FOR i = 1 to 10
    PRINT "Counting "; i
    NEXT i
    </script>
    </head>
    </html>

    And no, this is real - it actually works :-)

    Nish Nishant Consultant Software Architect Ganymede Software Solutions LLC www.ganymedesoftwaresolutions.com

    C Offline
    C Offline
    Chris C B
    wrote on last edited by
    #6

    What goes around, comes around. I recall scripting in basic in the original ASP. :-\

    1 Reply Last reply
    0
    • N Nish Nishant

      [GitHub - google/wwwbasic: WWWBasic is an implementation of BASIC (Beginner's All-purpose Symbolic Instruction Code) designed to be easy to run on the Web.](https://github.com/google/wwwbasic) Sample code :

      <html>
      <head>
      <script src="https://google.github.io/wwwbasic/wwwbasic.js"></script>
      <script type="text/basic">
      PRINT "Hello World!"
      FOR i = 1 to 10
      PRINT "Counting "; i
      NEXT i
      </script>
      </head>
      </html>

      And no, this is real - it actually works :-)

      Nish Nishant Consultant Software Architect Ganymede Software Solutions LLC www.ganymedesoftwaresolutions.com

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

      A perfect example of "just because you can do something, doesn't mean you should ". :laugh:

      Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

      "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

      D 1 Reply Last reply
      0
      • N Nish Nishant

        [GitHub - google/wwwbasic: WWWBasic is an implementation of BASIC (Beginner's All-purpose Symbolic Instruction Code) designed to be easy to run on the Web.](https://github.com/google/wwwbasic) Sample code :

        <html>
        <head>
        <script src="https://google.github.io/wwwbasic/wwwbasic.js"></script>
        <script type="text/basic">
        PRINT "Hello World!"
        FOR i = 1 to 10
        PRINT "Counting "; i
        NEXT i
        </script>
        </head>
        </html>

        And no, this is real - it actually works :-)

        Nish Nishant Consultant Software Architect Ganymede Software Solutions LLC www.ganymedesoftwaresolutions.com

        R Offline
        R Offline
        RickZeeland
        wrote on last edited by
        #8

        I will immediately ditch all languages that I use in favor of WWWBasic ! :-\

        1 Reply Last reply
        0
        • N Nish Nishant

          :laugh: Well, the BASIC interpreter is implemented in js.

          Nish Nishant Consultant Software Architect Ganymede Software Solutions LLC www.ganymedesoftwaresolutions.com

          C Offline
          C Offline
          CodeWraith
          wrote on last edited by
          #9

          I hated BASIC the first time around already. JS too, as I dislike interpreters in general. Now, what would you expect me to say to this interpreted interpreter?

          I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

          M D 2 Replies Last reply
          0
          • N Nish Nishant

            [GitHub - google/wwwbasic: WWWBasic is an implementation of BASIC (Beginner's All-purpose Symbolic Instruction Code) designed to be easy to run on the Web.](https://github.com/google/wwwbasic) Sample code :

            <html>
            <head>
            <script src="https://google.github.io/wwwbasic/wwwbasic.js"></script>
            <script type="text/basic">
            PRINT "Hello World!"
            FOR i = 1 to 10
            PRINT "Counting "; i
            NEXT i
            </script>
            </head>
            </html>

            And no, this is real - it actually works :-)

            Nish Nishant Consultant Software Architect Ganymede Software Solutions LLC www.ganymedesoftwaresolutions.com

            F Offline
            F Offline
            F ES Sitecore
            wrote on last edited by
            #10

            WWWBasic now obsolete and unsupported. WWWBasic-v2 is what you should be using and it's not backward-compatible.

            1 Reply Last reply
            0
            • N Nish Nishant

              [GitHub - google/wwwbasic: WWWBasic is an implementation of BASIC (Beginner's All-purpose Symbolic Instruction Code) designed to be easy to run on the Web.](https://github.com/google/wwwbasic) Sample code :

              <html>
              <head>
              <script src="https://google.github.io/wwwbasic/wwwbasic.js"></script>
              <script type="text/basic">
              PRINT "Hello World!"
              FOR i = 1 to 10
              PRINT "Counting "; i
              NEXT i
              </script>
              </head>
              </html>

              And no, this is real - it actually works :-)

              Nish Nishant Consultant Software Architect Ganymede Software Solutions LLC www.ganymedesoftwaresolutions.com

              E Offline
              E Offline
              Eytukan
              wrote on last edited by
              #11

              Now I'm going to draw Circles on a webpage with radius=5. That magical moment I had with GWBasic :-O

              Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy Falcon.

              1 Reply Last reply
              0
              • C CodeWraith

                I hated BASIC the first time around already. JS too, as I dislike interpreters in general. Now, what would you expect me to say to this interpreted interpreter?

                I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

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

                CodeWraith wrote:

                Now, what would you expect me to say to this interpreted interpreter?

                Two wrongs make a right? ;)

                Latest Article - A Concise Overview of Threads Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                L C R 3 Replies Last reply
                0
                • N Nish Nishant

                  :laugh: Well, the BASIC interpreter is implemented in js.

                  Nish Nishant Consultant Software Architect Ganymede Software Solutions LLC www.ganymedesoftwaresolutions.com

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

                  [I am an ostrich](https://wonderopolis.org/wp-content/uploads//2015/03/1425\_3.jpg)

                  Latest Article - A Concise Overview of Threads Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                  1 Reply Last reply
                  0
                  • M Marc Clifton

                    CodeWraith wrote:

                    Now, what would you expect me to say to this interpreted interpreter?

                    Two wrongs make a right? ;)

                    Latest Article - A Concise Overview of Threads Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

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

                    Marc Clifton wrote:

                    Two wrongs make a right? ;)

                    No, that's three lefts.

                    Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004

                    1 Reply Last reply
                    0
                    • M Marc Clifton

                      CodeWraith wrote:

                      Now, what would you expect me to say to this interpreted interpreter?

                      Two wrongs make a right? ;)

                      Latest Article - A Concise Overview of Threads Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

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

                      Two wrongs? Really? Start counting[^]. After that we shall pluck apart good old BASIC.

                      I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                      1 Reply Last reply
                      0
                      • N Nish Nishant

                        [GitHub - google/wwwbasic: WWWBasic is an implementation of BASIC (Beginner's All-purpose Symbolic Instruction Code) designed to be easy to run on the Web.](https://github.com/google/wwwbasic) Sample code :

                        <html>
                        <head>
                        <script src="https://google.github.io/wwwbasic/wwwbasic.js"></script>
                        <script type="text/basic">
                        PRINT "Hello World!"
                        FOR i = 1 to 10
                        PRINT "Counting "; i
                        NEXT i
                        </script>
                        </head>
                        </html>

                        And no, this is real - it actually works :-)

                        Nish Nishant Consultant Software Architect Ganymede Software Solutions LLC www.ganymedesoftwaresolutions.com

                        R Offline
                        R Offline
                        RedDk
                        wrote on last edited by
                        #16

                        Every conservative bone in my body says "cool, cool" but I don't know that I'd actually go back and start delving into code just to see where I went wrong. Too late to fix it. I'm there too Rainer ...

                        1 Reply Last reply
                        0
                        • C CodeWraith

                          I hated BASIC the first time around already. JS too, as I dislike interpreters in general. Now, what would you expect me to say to this interpreted interpreter?

                          I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                          D Offline
                          D Offline
                          dandy72
                          wrote on last edited by
                          #17

                          CodeWraith wrote:

                          Now, what would you expect me to say to this interpreted interpreter?

                          They cancel each other out?

                          C 1 Reply Last reply
                          0
                          • OriginalGriffO OriginalGriff

                            A perfect example of "just because you can do something, doesn't mean you should ". :laugh:

                            Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                            D Offline
                            D Offline
                            dandy72
                            wrote on last edited by
                            #18

                            Just wait until you see:

                            </pre></x-turndown>

                            1 Reply Last reply
                            0
                            • D dandy72

                              CodeWraith wrote:

                              Now, what would you expect me to say to this interpreted interpreter?

                              They cancel each other out?

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

                              That's what Dumb also always says when he executes Dumber's next master plan. The scary thing is how many actually believe it besides him.

                              I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                              1 Reply Last reply
                              0
                              • M Marc Clifton

                                CodeWraith wrote:

                                Now, what would you expect me to say to this interpreted interpreter?

                                Two wrongs make a right? ;)

                                Latest Article - A Concise Overview of Threads Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                                R Offline
                                R Offline
                                Rollin Shultz
                                wrote on last edited by
                                #20

                                Or two wrongs make a write?

                                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