Category : Utilities for DOS and Windows Machines
Archive   : LET12.ZIP
Filename : DEMO-1.BAT

 
Output of file : DEMO-1.BAT contained in archive : LET12.ZIP
echo Off
If `%Name%' == `' Demo
cls
echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo ÚÄ×ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ×Ä¿
echo ³ º MATH using the LET command: ADD, SUB, MULT, DIV, and MOD º ³
echo ÀÄ×ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ×ÄÙ
echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
echo ÿ
echo The most fundamental part of LET is its ability to do arithmetic.
echo It can add, subtract, multiply, and divide integers (that is, whole
echo numbers) from -99,999,999,999 to 99,999,999,999. For example,
LET Dummy=(do "math")
echo Now, %N1% plus %N2% is %N1plusN2%,
echo %N1% minus %N2% is %N1minusN2%,
echo %N1% times %N2% is %N1timesN2%,
echo and %N1% divided by %N2% is %N1divN2% with a remainder of %N1modN2%
echo ÿ
echo How do you like them apples, %Name%?
set N1=
set N2=
set N1plusN2=
set N1minusN2=
set N1timesN2=
set N1divN2=
set N1modN2=
pause
DEMO-2


  3 Responses to “Category : Utilities for DOS and Windows Machines
Archive   : LET12.ZIP
Filename : DEMO-1.BAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/