home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga MA Magazine 1998 #6
/
amigamamagazinepolishissue1998.iso
/
coders
/
jËzyki_programowania
/
amigae
/
e_v3.2a
/
pdsrc
/
oomodules
/
library.e
< prev
next >
Wrap
Text File
|
1977-12-31
|
408b
|
22 lines
OPT MODULE
OPT EXPORT
OBJECT library
base
ENDOBJECT
PROC open(name,version=NIL,dummy=NIL) OF library
/*
* Just opens a library and fills the entries. the dummy argument is needed for
* opne OF device uses three vars
*/
DEF base
IF(base := OpenLibrary(name,version))=NIL THEN Raise("LIB")
self.base := base
ENDPROC base
PROC close() OF library
IF self.base THEN CloseLibrary(self.base)
ENDPROC