home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 1
/
GoldFishApril1994_CD1.img
/
d0xx
/
d084
/
ed
/
deflt.c
< prev
next >
Wrap
C/C++ Source or Header
|
1987-06-28
|
514b
|
30 lines
/*
* Copyright 1987 Brian Beattie Rights Reserved.
*
* Permission to copy and/or distribute granted under the
* following conditions:
*
* 1). No charge may be made other than resonable charges
* for reproduction.
*
* 2). This notice must remain intact.
*
* 3). No further restrictions may be added.
*
*/
#include <stdio.h>
#include "tools.h"
#include "ed.h"
deflt(def1, def2)
int def1, def2;
{
if(nlines == 0)
{
line1 = def1;
line2 = def2;
}
if(line1 > line2 || line1 <= 0)
return (ERR);
}