Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: QBasic 4.5  (Read 6579 times)

0 Members and 1 Guest are viewing this topic.

Larssie111

    Topic Starter


    Rookie
    QBasic 4.5
    « on: January 29, 2010, 10:12:54 AM »
    Hello,

    I have a question.
    I have Quick Basic 4.5 and I want to create 265 colors in DOS (with qbasic)
    How do I have to do that???

    Regards,
    Lars Jansen


    Experience Game Maker with Game Maker 7.0
    Experience Rpg Maker with Rpg Maker XP
    Experience Site Maker with Microsoft FrontPage

    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: QBasic 4.5
    « Reply #1 on: January 29, 2010, 10:14:05 AM »
    SCREEN 13, and the graphics commands. (LINE, PSET, CIRCLE, etc)
    I was trying to dereference Null Pointers before it was cool.

    Larssie111

      Topic Starter


      Rookie
      Re: QBasic 4.5
      « Reply #2 on: January 29, 2010, 10:35:42 AM »
      And how can I use that 265 colors?
      For example in screen 0:
      screen 0
      color 7,0,7

      In screen 0 there are 15 colors (0 until 15), but how to use this 265 colors?


      Experience Game Maker with Game Maker 7.0
      Experience Rpg Maker with Rpg Maker XP
      Experience Site Maker with Microsoft FrontPage

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: QBasic 4.5
      « Reply #3 on: January 29, 2010, 11:01:52 AM »
      256 colours.

      there are 256 colours. you choose color 1 through 256 using COLOR.
      I was trying to dereference Null Pointers before it was cool.

      Larssie111

        Topic Starter


        Rookie
        Re: QBasic 4.5
        « Reply #4 on: January 29, 2010, 11:27:17 AM »
        But how do you know what color ou choose?


        Experience Game Maker with Game Maker 7.0
        Experience Rpg Maker with Rpg Maker XP
        Experience Site Maker with Microsoft FrontPage

        BC_Programmer


          Mastermind
        • Typing is no substitute for thinking.
        • Thanked: 1140
          • Yes
          • Yes
          • BC-Programming.com
        • Certifications: List
        • Computer: Specs
        • Experience: Beginner
        • OS: Windows 11
        Re: QBasic 4.5
        « Reply #5 on: January 29, 2010, 11:37:18 AM »
        you don't. you'll have to draw some shape with the colours in order to choose.

        I believe QB 4.5 has integrated help of some form. it has more details regarding COLOR and it's use with palettes.
        I was trying to dereference Null Pointers before it was cool.

        comda



          Adviser
        • Thanked: 6
          • Yes
        • Experience: Experienced
        • OS: Windows XP
        Re: QBasic 4.5
        « Reply #6 on: February 01, 2010, 05:33:04 PM »
        sorry to barge in but could someone tell me what is QBasic 4.5?

        BC_Programmer


          Mastermind
        • Typing is no substitute for thinking.
        • Thanked: 1140
          • Yes
          • Yes
          • BC-Programming.com
        • Certifications: List
        • Computer: Specs
        • Experience: Beginner
        • OS: Windows 11
        Re: QBasic 4.5
        « Reply #7 on: February 01, 2010, 05:42:37 PM »
        sorry to barge in but could someone tell me what is QBasic 4.5?

        technically there is no QBASIC 4.5, it's actually called QuickBasic 4.5; QBasic is the version of the interpreter included with DOS 5 and 6.

        anyway, QuickBasic /QBasic are for writing BASIC programs.
        I was trying to dereference Null Pointers before it was cool.

        comda



          Adviser
        • Thanked: 6
          • Yes
        • Experience: Experienced
        • OS: Windows XP
        Re: QBasic 4.5
        « Reply #8 on: February 01, 2010, 06:41:41 PM »
        writing BASIC programs like......?

        BC_Programmer


          Mastermind
        • Typing is no substitute for thinking.
        • Thanked: 1140
          • Yes
          • Yes
          • BC-Programming.com
        • Certifications: List
        • Computer: Specs
        • Experience: Beginner
        • OS: Windows 11
        Re: QBasic 4.5
        « Reply #9 on: February 01, 2010, 07:31:11 PM »
        writing BASIC programs like......?


        That question makes no sense.
        I was trying to dereference Null Pointers before it was cool.

        comda



          Adviser
        • Thanked: 6
          • Yes
        • Experience: Experienced
        • OS: Windows XP
        Re: QBasic 4.5
        « Reply #10 on: February 01, 2010, 08:05:40 PM »
        i was asking what kinds of programs can you write with QBasic?

        Geek-9pm


          Mastermind
        • Geek After Dark
        • Thanked: 1026
          • Gekk9pm bnlog
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 10
        Re: QBasic 4.5
        « Reply #11 on: February 01, 2010, 08:06:23 PM »
        There are many sites that can help you with Qbasic. Just Google the word "Qbasic" and find lots. It is well suited for use in DOS for things like simple arcade games, text games, text file manipulation and basic math calculations.
        QB 4.5 was the last compiler that Microsoft did for Qbasic.
        As BC said, the term "Qqasic 4.5" is popular jargon, but the program was really QB.EXE and there was an earlier version that was called QBASIC.EXE.
        There is not much interest in QBASIC on this forum.

        Salmon Trout

        • Guest
        Re: QBasic 4.5
        « Reply #12 on: February 02, 2010, 12:21:18 AM »
        Quickbasic versions up to 4.5 were an interpreter/compiler/IDE programming environment sold by Microsoft.

        Qbasic is a cut-down (cannot compile) version. Version 1.0 was shipped together with MS-DOS 5.0 and higher, as well as Windows 95, Windows NT 3.x, and Windows NT 4.0. IBM recompiled QBasic and included it in PC-DOS 5.x, as well as OS/2 2.0 onwards.[7]  eComStation, descended from OS/2 code, includes QBasic 1.0. QBasic 1.1 is included with MS-DOS 6.x, and, without EDIT, in Windows 95, Windows 98 and Windows Me.