home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d1xx
/
d150
/
execlib.lha
/
ExecLib
/
test.c
< prev
next >
Wrap
C/C++ Source or Header
|
1987-06-15
|
512b
|
31 lines
#include <exec/types.h>
int FLamBase;
void main()
{
register int test;
if ( !(FLamBase = OpenLibrary( "flam.library", 0 )))
{
printf("Open flam.library failed\n");
exit(20);
}
printf("OpenLib OK\n");
test = fl_Plus( 13, 6 );
printf("fl_Plus() = %ld\n", test );
test = fl_Minus( 13, 6 );
printf("fl_Minus() = %ld\n", test );
CloseLibrary( FLamBase );
RemLibrary( FLamBase ); /* Optional - call the lib expunge routine */
exit(0);
}