2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 /*****************************************************************************
10 #include <dos/dosextens.h>
11 #include <proto/icon.h>
14 extern struct Library
*IconBase
;
25 Returns the value associated with the string 'entry' found in the
26 tooltypes array 'tt'. If no match with entry was found,
27 'defaultval' is returned.
30 tt -- the tooltypes array ( returned by ArgArrayInit() )
31 entry -- entry to look for (in tooltype "entry=value")
32 defaultval -- value returned if 'entry' was not found
35 (The tooltypes looks like "Entry=Value".) Returns Value if Entry
36 was found; otherwise returns 'defaultval'.
48 The Amiga documentation says "requires that dos.library V36 or
49 higher is opened". I can't see why.
52 29.04.98 SDuvan implemented
54 *****************************************************************************/
58 if((match
= FindToolType(tt
, entry
)) == NULL
)