DOKK / manpages / debian 10 / alliance / getlores.3.en
GETLORES(3) MBK LOGICAL FUNCTIONS GETLORES(3)

getlores - retrieve a logical resistor

See the file buster/alliance/alc_origin.1.en.gz.

#include "mlo.h"
lores_list ∗getlores(ptfig,name)
lofig_list ∗ptfig ;
const char ∗name ;

Pointer to the figure in which the resistor should be seeked
Instance name of the resistor

getlores looks in the list of resistors of the logical model pointed to by ptfig for a resistor identified by its instance name.

getlores returns a pointer to the given resistor.

"∗∗∗ mbk error ∗∗∗ getlores impossible : resistor name doesn't exist in figure ptfig -> NAME"

No resistor matches the name.

#include "mlo.h"
lores_list ∗exist(char ∗figname,char ∗resname)
{

return getlores(getlofig(figname,'A'),resname) ; }

mbk(1), lofig(3), lores(3), addlores(3), dellores(3).

See the file buster/alliance/alc_bug_report.1.en.gz.

August 14, 2002 ASIM/LIP6