Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.
Well, Batch is very powerful.
It's in fact not a programming language.
Yes... It is a form of programming most surely.Also, in a sense, changing any form of data in a machine to ones preference is "programming"... just look at VCRs and such...
But you have to individually create each frame.
Well, anything that can be programmed through text in a computer could be considered a programming language.
Yes... It is a form of programming most surely.
QuoteYes... It is a form of programming most surely.Urban Myth
or you could try to make a Command Line app in VB.NET. take my FINFO app i made in VB.NET.http://www.computerhope.com/forum/index.php/topic,72108.msg470826.html#msg470826and be sure to add error checking and all those goodies.
programming is getting the computer to do what you want. If you do that in batch, your programming.
Quote from: Geek-9pm on February 08, 2009, 05:49:27 PMQuoteYes... It is a form of programming most surely.Urban Mythprogramming is getting the computer to do what you want. If you do that in batch, your programming.Quote from: macdad- on February 08, 2009, 05:44:39 PMor you could try to make a Command Line app in VB.NET. take my FINFO app i made in VB.NET.http://www.computerhope.com/forum/index.php/topic,72108.msg470826.html#msg470826and be sure to add error checking and all those goodies.Or my BCScript Script interpreter in my sig! Except that's a console app created in VB6... I have to actually use API calls to determine the start mode (console or GUI) and manually acquire the handles to the opened Stdout,stdin, and stderror streams. Even then, I need to use the API WriteFile and ReadFile functions to read or write anything to or from console. yep, it's tough using VB6 in today's world, but well worth avoiding the requirement of .NET.Besides... I have all the console code in a module. I just add the module and the app has Console support.Tricky part was the late binding... Never realized how lost I could be without intellisense.
nice BC, i'll give it a try, and yea VB6 does have its advantages...does BCScript have a command in it for console parameter parsing?
I can not find any references BATCH as being a language.
Batch is a programming language. You are wrong. Suck it up.
which has a its own language.
References to BATCH programming are short forms of reference to doing command line programming using a file that contains the script the COMMAND program will interpret.
Please tell me why a command script is not a program, while a Qbasic source code file is.
QuoteBatch is a programming language. You are wrong. Suck it up.Thank you for the links. They say what I said, BATCH is NOT a language.The references are to the use of the command interpreter, which has a its own language. American is not a language.European is not a language.ASNII(ANSI?) is not a language.Batch is not a language. It is a BATCH.
A programming language is a machine-readable artificial language designed to express computations that can be performed by a machine, particularly a computer. Programming languages can be used to create programs that specify the behavior of a machine, to express algorithms precisely, or as a mode of human communication.
What's the point of that link?
the same file is the source code as well as the built program itself. it is just used as a program when opened in CMD(or DOS) or used as a textfile(the source code) in Notepad.
when you think of it fully. BATCH seems like a semi-language. the same file is the source code as well as the built program itself. it is just used as a program when opened in CMD(or DOS) or used as a textfile(the source code) in Notepad.
Quote from: macdad- on February 10, 2009, 03:00:44 PMthe same file is the source code as well as the built program itself. it is just used as a program when opened in CMD(or DOS) or used as a textfile(the source code) in Notepad.But this is true of all interpreted programming languages, of which there are many.
[/color]I had a co-worker once that said he could change a COM file into a EXE by just renaming it. I don't know how he did it. But my co-worker went on to do wonderful things and become rich in silicon valley. And here I am a in a small town poor as a church-mouse.
ren file.com file.exe
There are some here who would think that when you change the last part of a file name from TXT to BAT that you instantly create a new lifeform.
So then VBScript,Perl, JavaScript,Python, etc. are not programming languages either?the fact is, the Command-line does NOT have it's own language. it has a Syntax, and that's it. the syntax is simple- Command <arguments>. No parsing of the arguments is done by the command interpreter- it is all just passed onto the program. The fact that Batch is not merely a collection of these statements (as you can place grouping code and gotos, as well as labels and other features that work exclusively in batch.Quote from: Geek-9pm on February 10, 2009, 04:36:34 PM[/color]I had a co-worker once that said he could change a COM file into a EXE by just renaming it. I don't know how he did it. But my co-worker went on to do wonderful things and become rich in silicon valley. And here I am a in a small town poor as a church-mouse.I'd imagine he did something like this:Code: [Select]ren file.com file.exeThe thing is, that executable will only work in pure DOS- Windows will complain about an invalid image, since a COM file does not have the MZ at the start that a EXE file would. DOS doesn't check.You can have supporting files in batch as well, so I'm not sure how the argument that having various supporting files really comes into play.Quote from: Geek-9pm on February 10, 2009, 04:36:34 PMThere are some here who would think that when you change the last part of a file name from TXT to BAT that you instantly create a new lifeform.90% of all programming languages store their code in text files, so I don't see how this is even an argument.
but for now BATCH is a Semi-language.
A fruit is actually the sweet, ripened ovary or ovaries of a seed-bearing plant. A vegetable, in contrast, is an herbaceous plant cultivated for an edible part (seeds, roots, stems, leaves, bulbs, tubers, or nonsweet fruits). So, to be really nitpicky, a fruit could be a vegetable, but a vegetable could not be a fruit.
the line between fruits and vegetables is quite well set.
the line between fruits and vegetables is quite well set.QuoteA fruit is actually the sweet, ripened ovary or ovaries of a seed-bearing plant. A vegetable, in contrast, is an herbaceous plant cultivated for an edible part (seeds, roots, stems, leaves, bulbs, tubers, or nonsweet fruits). So, to be really nitpicky, a fruit could be a vegetable, but a vegetable could not be a fruit.in any case...Quote from: macdad- on February 11, 2009, 12:10:52 PMbut for now BATCH is a Semi-language.No such thing as a semi-language.
i know, but its undecided so its a definite maybe, until we all come to a conclusion.
Intriguing....
like saying is an avacado a fruit or not
the line between fruits and vegetables is quite well set.QuoteA fruit is actually the sweet, ripened ovary or ovaries of a seed-bearing plant. A vegetable, in contrast, is an herbaceous plant cultivated for an edible part (seeds, roots, stems, leaves, bulbs, tubers, or nonsweet fruits). So, to be really nitpicky, a fruit could be a vegetable, but a vegetable could not be a fruit.
an Avacado isn't sweet...
I got past 4000 posts!
_____ / \ / \ IIIIIIIIIIIII IIMasterIII IIIILockIIII IIIIIIIIIIIIIIits time
how does that relate to this?
wow, I made a hilariously relevant typo. I wrote, *censored*.
we're just a bunch of foals.