Help... Programming
I was trying to write a very simply math program in batch because I just want t divide two numbers but I haven't done this sort of easy programming in a long time.
Anyway,does anyone know how to make a batch program that accepts two different inputs, divides them an shows the output? @echo off Set First = INPUT Set Second = INPUT Set Result = First + Second PRINT Result pause Thats what I had but it sucks. |
You can't do math in DOS batch scripts. You can't issue an input prompt in DOS batch scripts.
|
Go get VB6
|
Sad :( Close plz.
|
I say we leave it open and ridicule spector.
|
No really, get visual basic 6 and read up on some free tutorials on it, it's probably one of the best beginner programs out there from what I can understand.
|
you can do math in NT batch files, just use set /a
|
All times are GMT -6. The time now is 10:19 PM. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.