home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 24
/
CD_ASCQ_24_0995.iso
/
dos
/
tools
/
inter47
/
int2whlp
/
i2w_test
/
test_por.lst
< prev
Wrap
File List
|
1994-05-01
|
2KB
|
40 lines
This is a test file for INT2WHLP's ProcessPort() procedure. Its appearence
depends of whether it was processed by the ProcessPort() procedure or
the ProcessFile() procedure. The configuration file includes it in both
ways in order to show both the actions taken by the ProcessPort()
procedure and the contents of the file. The following comments suggest
that the file was processed by the ProcessPort() procedure.
ProcessPort() processes multi section files, where the sections are
separated by lines starting with 8 dashes "-".
The first line in each section is used as a topic title for the section
and inserted i the file's index. The very first section - this section -
gets the title "<filename> Note" where <filename> is the name of the file.
The file's index is inserted in the WINHELP browse chain with other
indexes, and the topics are inserted in a "ports" browse chain. Thus,
WINHELP's "<<" browse button for this topic will either be grayed, or it
will take you to the last topic in a file previously processed by the
ProcessPort() procedure.
--------------------------------------------------------------
"Ports" Test, Section 1.
This is line 2 in the first separate section in the Ports Test file. Line
1 was extracted by the ProcessPort() procedure and used as a header, and
in the file's index.
--------------------------------------------------------------
"Ports" Test, Section 2.
Line 2 in this section is emty, and this text starts on line 3. Again
line 1 was extracted and used as a title.
--------------------------------------------------------------
"Ports" Test section 3 is an empty section.
--------------------------------------------------------------
"Ports" Test Section 4.
This is the last section in the Ports Test file. If other files are
processed with the ProcessPort() procedure after this one, the ">>"
browse button will take you to the "<filename> Note" topic in the
first of these, otherwise it will be grayed.