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. Small Basic

Small Basic

Scheduled Pinned Locked Moved The Lounge
comquestion
29 Posts 14 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

    Hey, this is pretty neat. Did you check out the built-in Turtle object?

    Turtle.Show()
    GraphicsWindow.KeyDown = KeyDown

    Sub KeyDown
    Turtle.TurnRight()
    Turtle.Move(100)
    EndSub

    Regards, Nish


    Latest article: Code Project Posts Analyzer for Windows Phone 7 My technology blog: voidnish.wordpress.com

    T Offline
    T Offline
    tgrt
    wrote on last edited by
    #19

    Turtle.Show()
    GraphicsWindow.KeyDown = TurtleDoNascar

    Sub TurtleDoNascar
    Dim lap As Integer

    For lap = 1 To 100
    Turtle.TurnLeft()
    Turtle.Move(200)
    Turtle.TurnLeft()
    Turtle.Move(100)
    Turtle.TurnLeft()
    Turtle.Move(200)
    Turtle.TurnLeft()
    Turtle.Move(100)
    Next lap
    EndSub

    D 1 Reply Last reply
    0
    • R Roger Wright

      The Old Dope Peddler is a long time member of my musical family, along with I Hold Your Hand In Mine, The Vatican Rag, and Poisoning Pigeons In The Park... :-D

      Will Rogers never met me.

      S Offline
      S Offline
      skydvr
      wrote on last edited by
      #20

      "But don't worry - base 8 is just like base 10 really.... if you're missing 2 fingers." Only have 1 Tom Lehrer - but like it....

      R 1 Reply Last reply
      0
      • T tgrt

        Turtle.Show()
        GraphicsWindow.KeyDown = TurtleDoNascar

        Sub TurtleDoNascar
        Dim lap As Integer

        For lap = 1 To 100
        Turtle.TurnLeft()
        Turtle.Move(200)
        Turtle.TurnLeft()
        Turtle.Move(100)
        Turtle.TurnLeft()
        Turtle.Move(200)
        Turtle.TurnLeft()
        Turtle.Move(100)
        Next lap
        EndSub

        D Offline
        D Offline
        digitalMoto
        wrote on last edited by
        #21

        :laugh: That would be why I never watch NASCAR. MotoGP is much more exciting. I'm working on a training module to teach at-risk high school students a little bit of programming beyond the HTML/JavaScript they are already working with. I'll be using Small Basic. Easier to install. No solution/project files. Less overhead and no background knowledge required to start coding when compared to VS. "New" and start writing some code.

        L 1 Reply Last reply
        0
        • H Hans Dietrich

          I know what you're thinking! Now if they just had a Small C#...

          Best wishes, Hans


          [Hans Dietrich Software]

          S Offline
          S Offline
          Steve Mayfield
          wrote on last edited by
          #22

          it would probably be called c# and C# is its big brother

          Steve _________________ I C(++) therefore I am

          1 Reply Last reply
          0
          • L leppie

            Repost. Was posted about 2 years back. Sorry :)

            ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

            S Offline
            S Offline
            Steve Mayfield
            wrote on last edited by
            #23

            Version: 0.95 Date Published:2/7/2011 two years ago? that must have been a crystal ball post ;)

            Steve _________________ I C(++) therefore I am

            L 2 Replies Last reply
            0
            • S Steve Mayfield

              Version: 0.95 Date Published:2/7/2011 two years ago? that must have been a crystal ball post ;)

              Steve _________________ I C(++) therefore I am

              L Offline
              L Offline
              leppie
              wrote on last edited by
              #24

              Maybe it is just the date of the new version.

              ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

              1 Reply Last reply
              0
              • S Steve Mayfield

                Version: 0.95 Date Published:2/7/2011 two years ago? that must have been a crystal ball post ;)

                Steve _________________ I C(++) therefore I am

                L Offline
                L Offline
                leppie
                wrote on last edited by
                #25

                Well almost 2 years :) http://www.codeproject.com/Lounge.aspx?msg=3077462#xx3077462xx[^]

                ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

                1 Reply Last reply
                0
                • S skydvr

                  "But don't worry - base 8 is just like base 10 really.... if you're missing 2 fingers." Only have 1 Tom Lehrer - but like it....

                  R Offline
                  R Offline
                  Roger Wright
                  wrote on last edited by
                  #26

                  I believe my collection is complete - 3 vinyl albums - as that's all I've ever been able to locate. But I also have the songbook, with sheet music, and have been known to perform a few on stage. :-D

                  Will Rogers never met me.

                  1 Reply Last reply
                  0
                  • D Dalek Dave

                    I tend to use a Flickr when I have a Turtle object.

                    ------------------------------------ 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 League Table Link CCC Link[^]

                    L Offline
                    L Offline
                    LloydA111
                    wrote on last edited by
                    #27

                    I don't know how you do it, but your one of the few on CP who can turn virtually anything into something funny :-D


                    See if you can crack this: b749f6c269a746243debc6488046e33f
                    (This one is much easier than the last one!)

                    The unofficial awesome history of Code Project's Bob! "People demand freedom of speech to make up for the freedom of thought which they avoid."

                    1 Reply Last reply
                    0
                    • D digitalMoto

                      :laugh: That would be why I never watch NASCAR. MotoGP is much more exciting. I'm working on a training module to teach at-risk high school students a little bit of programming beyond the HTML/JavaScript they are already working with. I'll be using Small Basic. Easier to install. No solution/project files. Less overhead and no background knowledge required to start coding when compared to VS. "New" and start writing some code.

                      L Offline
                      L Offline
                      LloydA111
                      wrote on last edited by
                      #28

                      Teach them C and assembler in Nano ;)


                      See if you can crack this: b749f6c269a746243debc6488046e33f
                      (This one is much easier than the last one!)

                      The unofficial awesome history of Code Project's Bob! "People demand freedom of speech to make up for the freedom of thought which they avoid."

                      1 Reply Last reply
                      0
                      • A AspDotNetDev

                        Yeah. Now that I think about it, maybe it could turn both ways... might have just been a programming assignment to have it turn one way by turning the other way a few times.

                        [WikiLeaks Cablegate Cables]

                        J Offline
                        J Offline
                        James Lonero
                        wrote on last edited by
                        #29

                        It sounds like San Francisco, where they have no left turn streets.

                        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