home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 March
/
CHIPCD_3_98.iso
/
software
/
share
/
sharmies
/
unixdos
/
data.z
/
ex14.bat
< prev
next >
Wrap
DOS Batch File
|
1997-09-03
|
213b
|
11 lines
@echo off
set EXP=1
set BASE=2
:LOOP
echo 2 power %EXP% = %BASE%
call setenv "EXP=`expr $EXP + 1`"
call setenv "BASE=`expr $BASE x 2`"
test $EXP -le 32
IF NOT ERRORLEVEL 1 GOTO LOOP