home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1995 November
/
PCWK1195.iso
/
inne
/
podstawy
/
dos
/
4dos
/
4uzytki
/
ez-btm11.exe
/
MASTHELP.BTM
< prev
next >
Wrap
Text File
|
1994-04-03
|
920b
|
35 lines
:: MASTHELP.BTM
:: This is a "master HELP" procedure. It runs only as a subsidiary file
:: for another batch file for displaying any lines between the number
:: saved on a variable (default is 3rd line) and a blank line in the
:: primary file.
:: The idea is to use this feature for displaying a HELP text.
:: -------------------
:: Type HELPTEXT to see how it works with both internal and external
:: procedures.
:: -------------------
:: For further instructions and explanations read HELPTEXT.BTM, and
:: this file (%@filename[%@search[%0]]).
setlocal
iff %_batch==1 then
set lnumber=0
set source=%@search[%0]
goto help
endiff
:help
if .%lnumber==. set lnumber=2
cls^screen 2 0
set num=%lnumber
do forever
set hl=%@instr[3,70,%@line[%source,%num]]
set num=%@eval[%num+1]
if "%hl"=="" leave
screen %@eval[%_row+1] 4 %hl
enddo
endlocal
echo.
quit