home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 March
/
CHIPCD_3_98.iso
/
software
/
share
/
sharmies
/
unixdos
/
data.z
/
test_exp.bat
< prev
next >
Wrap
DOS Batch File
|
1997-11-18
|
207b
|
10 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 16
IF NOT ERRORLEVEL 1 GOTO LOOP