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

Author Topic: Finally made my own batch program  (Read 7310 times)

0 Members and 1 Guest are viewing this topic.

ThomasTheXPUser

    Topic Starter


    Hopeful

  • Remember me? :-)
  • Thanked: 13
    • Yes
    • Yes
    • Yes
    • ThomasTheXPUser
  • Experience: Experienced
  • OS: Windows 7
Finally made my own batch program
« on: August 03, 2009, 03:45:43 PM »
I finally made my own batch program. Made a calculator, nothing much. Found a really cool tutorial on youtube and built it. Tell me what you think.

« Last Edit: September 06, 2009, 08:01:39 PM by ThomasTheXPUser »

BSOD image source : ToastyTech IE is evil page
Can't sleep! Clowns will eat me!
There are 10 types of people in the world. Those who understand binary code and those who do not.

Helpmeh



    Guru

  • Roar.
  • Thanked: 123
    • Yes
    • Yes
  • Computer: Specs
  • Experience: Familiar
  • OS: Windows 8
Re: Finally made my own batch program
« Reply #1 on: August 03, 2009, 04:19:21 PM »
I finally made my own batch program. Made a calculator, nothing much. Found a really cool tutorial on youtube and built it. Tell me what you think.

http://thomasthexpuser.pcriot.com/SuperbatchCalculatorbyThomasTheXPUser.zip
Here is a simple calculator...

@echo off
Title Calculator
:1
Set /p a=
Set /a=%a%
Echo %a%
Goto 1
Where's MagicSpeed?
Quote from: 'matt'
He's playing a game called IRL. Great graphics, *censored* gameplay.

ThomasTheXPUser

    Topic Starter


    Hopeful

  • Remember me? :-)
  • Thanked: 13
    • Yes
    • Yes
    • Yes
    • ThomasTheXPUser
  • Experience: Experienced
  • OS: Windows 7
Re: Finally made my own batch program
« Reply #2 on: August 03, 2009, 05:46:45 PM »
Thanks, thats nice. Only thing is that it says missing operand. hmm

BSOD image source : ToastyTech IE is evil page
Can't sleep! Clowns will eat me!
There are 10 types of people in the world. Those who understand binary code and those who do not.

Helpmeh



    Guru

  • Roar.
  • Thanked: 123
    • Yes
    • Yes
  • Computer: Specs
  • Experience: Familiar
  • OS: Windows 8
Re: Finally made my own batch program
« Reply #3 on: August 03, 2009, 07:06:58 PM »
Thanks, thats nice. Only thing is that it says missing operand. hmm
You type in the whole part you want calculated. For example : 1*45+24
Where's MagicSpeed?
Quote from: 'matt'
He's playing a game called IRL. Great graphics, *censored* gameplay.

ThomasTheXPUser

    Topic Starter


    Hopeful

  • Remember me? :-)
  • Thanked: 13
    • Yes
    • Yes
    • Yes
    • ThomasTheXPUser
  • Experience: Experienced
  • OS: Windows 7
Re: Finally made my own batch program
« Reply #4 on: August 03, 2009, 07:38:03 PM »
Oh, OK!

BSOD image source : ToastyTech IE is evil page
Can't sleep! Clowns will eat me!
There are 10 types of people in the world. Those who understand binary code and those who do not.

BatchFileBasics



    Hopeful

    Thanked: 18
    Re: Finally made my own batch program
    « Reply #5 on: August 06, 2009, 01:39:20 AM »
    what youtube video did you watch  ;D
    When the power of love overcomes the love of power the world will know peace - Jimi Hendrix.

    Helpmeh



      Guru

    • Roar.
    • Thanked: 123
      • Yes
      • Yes
    • Computer: Specs
    • Experience: Familiar
    • OS: Windows 8
    Re: Finally made my own batch program
    « Reply #6 on: August 06, 2009, 02:40:26 PM »
    what youtube video did you watch  ;D
    You think I copied this off a youtube video? No. I learned that I could make a simple calculator script (that can't handle decimals) when I asked what the P switch was for the set command.
    Where's MagicSpeed?
    Quote from: 'matt'
    He's playing a game called IRL. Great graphics, *censored* gameplay.

    kpac

    • Web moderator


    • Hacker

    • kpac®
    • Thanked: 184
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 7
    Re: Finally made my own batch program
    « Reply #7 on: August 06, 2009, 02:44:40 PM »
    You think I copied this off a youtube video? No. I learned that I could make a simple calculator script (that can't handle decimals) when I asked what the P switch was for the set command.
    Don't think that post was directed at you...

    BatchFileBasics



      Hopeful

      Thanked: 18
      Re: Finally made my own batch program
      « Reply #8 on: August 06, 2009, 03:43:49 PM »
      yea helpmeh, i was talking about
      ... Found a really cool tutorial on youtube and built it...

      When the power of love overcomes the love of power the world will know peace - Jimi Hendrix.

      Helpmeh



        Guru

      • Roar.
      • Thanked: 123
        • Yes
        • Yes
      • Computer: Specs
      • Experience: Familiar
      • OS: Windows 8
      Re: Finally made my own batch program
      « Reply #9 on: August 07, 2009, 06:33:50 AM »
      yea helpmeh, i was talking about
      A quick search for "batch file calculator" will bring up what you want. And try and divide 3 by 2 in a pure batch script. 3/2*2=4
      Where's MagicSpeed?
      Quote from: 'matt'
      He's playing a game called IRL. Great graphics, *censored* gameplay.

      BatchFileBasics



        Hopeful

        Thanked: 18
        Re: Finally made my own batch program
        « Reply #10 on: August 07, 2009, 01:07:10 PM »
        um, no, that wasn't really why i was asking.

        i made the first batch calculator video back like  year ago.

        i wanted to know if he watched mine or another one lol
        When the power of love overcomes the love of power the world will know peace - Jimi Hendrix.

        Helpmeh



          Guru

        • Roar.
        • Thanked: 123
          • Yes
          • Yes
        • Computer: Specs
        • Experience: Familiar
        • OS: Windows 8
        Re: Finally made my own batch program
        « Reply #11 on: August 07, 2009, 05:01:55 PM »
        The first batch calculator video

        That's what they all say.
        Where's MagicSpeed?
        Quote from: 'matt'
        He's playing a game called IRL. Great graphics, *censored* gameplay.

        BatchFileBasics



          Hopeful

          Thanked: 18
          Re: Finally made my own batch program
          « Reply #12 on: August 07, 2009, 07:07:26 PM »
          Quote
          uploaded August 23, 2008


           ;D
          When the power of love overcomes the love of power the world will know peace - Jimi Hendrix.

          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: Finally made my own batch program
          « Reply #13 on: August 07, 2009, 07:15:48 PM »
          a batch calculator video. please.

          Why not have youtube video's describing the complicated semantics of double clicking?
          I was trying to dereference Null Pointers before it was cool.

          gh0std0g74



            Apprentice

            Thanked: 37
            Re: Finally made my own batch program
            « Reply #14 on: August 07, 2009, 09:00:06 PM »
            @OP , why do you want to make a calculator with batch? if doesn't support floating points , and a whole load of other stuff.. get a real programming language.

            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: Finally made my own batch program
            « Reply #15 on: August 07, 2009, 09:01:24 PM »
            hear hear!
            I was trying to dereference Null Pointers before it was cool.

            BatchFileBasics



              Hopeful

              Thanked: 18
              Re: Finally made my own batch program
              « Reply #16 on: August 07, 2009, 09:16:18 PM »
              a batch calculator video. please.

              Why not have youtube video's describing the complicated semantics of double clicking?

              [joke]
              hey! double clicking isn't that simple,
              sometimes you click to fast\much and you open multiple!
              sometimes you don't click fast enough and you rename it!
              [/joke]

              and it just simulates *simple* of using set /a for equations\adding and stuff.
              ment for people beginning batch like me..sorta
              When the power of love overcomes the love of power the world will know peace - Jimi Hendrix.