home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
PASCAL
/
TBTREE16.ZIP
/
EXAM0.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1989-07-15
|
1KB
|
34 lines
unit exam0;
{$R+} (* done for debugging purposes only *)
(* This unit serves as the global definitions required for the example
programs. By using a global declaration for the record definition, this
can easily be changed to see what affect the size of the record etc has on
the performance and operation of the product. It also makes it easier for
me to use these programs for regression testing. *)
(*\*)
(*////////////////////////// I N T E R F A C E //////////////////////////////*)
interface
const
TOTALRECORDS = 1000; (* number of records in to be created *)
TESTSTRINGSIZE = 10; (* size of strings (part of test record) *)
type
TestString = String[TESTSTRINGSIZE];
TestRecord = record (* record definition for data file *)
randByte : Byte;
randString : TestString;
end;
(*!*)
(*\*)
(*///////////////////// I M P L E M E N T A T I O N /////////////////////////*)
implementation
end. (* end of Exam0 unit *)