home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
215.lha
/
AmyLoad
/
findmxdatapoint.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-02-14
|
448b
|
19 lines
#include <exec/types.h>
#include <exec/nodes.h>
#include "execdef.h"
#include "loadrecord.h"
#include "FindMaxDataPoint.proto"
void
FindMaxDataPoint(record)
register LoadRecord *record;
{
register LoadDataValue *cur_data;
record->max_data = record->start_data;
for (cur_data = record->start_data; cur_data < record->next_data; cur_data++)
if (*cur_data > *(record->max_data))
record->max_data = cur_data;
}