[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.12.3 Libraries

07709 TOSRRP ( # → )
Attaches library to HOME directory.
--
<REF>TEXT:Libraries
076AE OFFSRRP ( # → )
Detaches library from HOME directory.
--
<REF>TEXT:Libraries
0778D (ONSRRP?) ( # → flag )
Returns TRUE if library is attached to HOME directory.
2F2A7 XEQSETLIB ( % → )
Internal ATTACH.
015002 (^GETLIBS) ( → {} )
Returns a list of all attached libraries in the format
{ { "Title1" #id1 } { "Title2" #id2 } ...}
This is used for the library menu, so libraries without titles are skipped.
014002 (^LIBS) ( → {} )
Resturns a list of all attached libraries in the format
{ "Title1" #id1 #port1 "Title2" ... }
This is the internal version of the User word LIBS, and it also lists libraries without title.
--
<REF>TEXT:Libraries
07638 SETHASH ( #libnum hxs → )
265DA (GetLibExt) ( ob1..obn #msg #lib → ob1'..obm' flag )
Call the message handler of library #lib. The flag is TRUE if the library is attached and has a message handler, FALSE otherwise. Note that library message handlers usually require extra arguments on the stack which may also be modified during the call. The handling of most but not all messages leaves the #msg unchanged on the stack, so most of the time, obm' = #msg.
--
<REF>TEXT:Libraries
25F2E (ExecGetLibsExtentions_sup) ( ob1..obn #msg → ob1'..obm' )
Calls the message handlers of all attached libraries with the specified #msg. Note that library message handlers usually require extra arguments on the stack which may also be modified during the call.
--
<REF>TEXT:Libraries
08199 (ROMPARTNAME) ( #libnum → id T )
( #libnum → F )
Returns title of library as an ID, and TRUE. If library is not found, returns just FALSE.
081DE (LIB>#) ( lib → #libnum T )
Returns number of library.
08081 (ROMPART>ADDR) ( #libnum → #addr T )
( #libnum → F )
Recalls library addres + 10 (prolog and length skipped).
080BF (ROMPARTSIZE) ( #libnum → #nibbles-10 T )
( #libnum → F )
Returns size of library.
080DA (NEXTROMPID) ( #libnum → #nextlibnum T )
( #libnum → F )
If specified library exists, #libnum is returned with TRUE.
08112 (GETHASH) ( #libnum → hxs_table T )
( #libnum → F )
Gets specified library's hash table.
08130 (GETMSG) ( #libnum → [] T )
( #libnum → F )
Gets specified library's message table.
--
<REF>TEXT:Libraries
0764E SETMESG ( [$] #libnum → )
Sets message table of specified library.
--
<REF>TEXT:Libraries
0813C (GETLINK) ( #libnum → hxs_table T )
( #libnum → F )
Gets specified library's link table.
08157 (GETCONFIG) ( #libnum → ob T )
( #libnum → F )
07F86 (ROMPART) ( rrp → {#lib1..#libn} T )
( ROMPTR → #libnum )
Gets the list of libraries attached to the directory, along with TRUE. If the argument is a rom pointer, returns the library number of this pointer.
2F2C6 (XEQXRCL) ( :%port:%libnum → lib )
Puts a pointer to the library with romidid %libnum in port %port onto the stack. The argument is a tagged real. The tag can also be '&' in order to search all ports. The library is not yet in TEMPOB, you need to execute TOTEMP in order the achieve this.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by Carsten Dominik on May, 30 2005 using texi2html