DOKK / manpages / debian 10 / alliance / setlores.3.en
SETLORES(3) MBK LOGICAL FUNCTIONS SETLORES(3)

setlores - set the resistance value of a logical resistor

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

#include "mlo.h"
void setlores(ptfig,name,newresi)
lofig_list ∗ptfig ;
const char ∗name ;
double newresi ;

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

setlores looks in the list of resistors of the logical model pointed to by ptfig for a resistor identified by its instance name and set the RESI field to the newresi value.

None

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

No resistor matches the name.

#include "mlo.h"
void set_lores_value(char ∗figname,char ∗resname,double newresi)
{

setlores(getlofig(figname,'A'),resname,newresi) ; }

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

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

August 14, 2002 ASIM/LIP6