home *** CD-ROM | disk | FTP | other *** search
-
- #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);
- }
-