home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
MBUG
/
MBUG028.ARC
/
FIND2.DOC
< prev
next >
Wrap
Text File
|
1979-12-31
|
2KB
|
75 lines
FIND.ASM VERSION 2.0 10/05/82
Requires MAC for Assembly
ORIGINALLY WRITTEN BY WARD CHRISTENSEN
ENHANCED AND REWRITTEN BY RICH ANGELO - 10-05-82
'FIND's ASCII, character strings in a file.
May take a generic file name, thus may search all *.ASM files
on a disk. Also very useful for finding things in MAST.CAT -
for example if you are looking for all MODEM or BYE Programs
you could FIND MAST.CAT MOD|BYE TO see them all.
Another useful function is for Documentation. For example;
Print all of this, enter: FIND FIND.ASM *;
Print Mainline comments, FIND FIND.ASM *>
Print Subroutines comments, FIND FIND.ASM *S>
Or try this, FIND FIND.ASM *>|*S>
Print Macros used, FIND FIND.ASM *M>
Documenting a Program in this fashion is an easy way to seperate
comments from code. There are many ways to Identify a portion of
a Program. Maybe a standard can be established, that we all can
share. This is the first step in that direction.
Any comments use,
One of the Popular Chicago area RBBS or CBBS Systems.
Rich Angelo
Used with LIST.COM which takes a starting line number,
you can: 1) use find to find a particular part of the code,
then 2) use LIST specifying a starting line number just before
the part of the code you wanted to see.
Note that FIND now has a DEFAULT File Name and the ability
to PROMPT for SEARCH STRING. This feature is handy if you want to
search for specific characters only, whereas entering the search
string on the command line will display both upper and lower case.
Special Search features of FIND are;
1. Make "_" match a Tab
2. Make "|" AN "OR"
AS IN: FIND B:*.ASM _IN_|_OUT_
COMMAND FORMATS;
FIND <--- Defaults to Filename In DFLTNAM.
Will Prompt for Search String Lower Case Valid.
Also will search for any character seq. passed
thru CPM Read String Function.
FIND fn.ft <--- Prompt for Search String.
FIND fn.ft str <--- Will Display Upper & Lower Case of string
Using File specified.
fn.ft may be Ambiguous, *.ASM OR CBBS*.ASM
Thats about all I have for now. I want to give thanks to all the SYSOPs
and Program Authors that have contributed to the Public Domain Network,
From which came most of the good programs that I use.
Rich Angelo
Lisle, Il.
to the Public Domain Network,
From which came most of the good progr