1GETLOSIG(3) MBK LOGICAL FUNCTIONS GETLOSIG(3)
2
3
4
6 getlosig - retrieve a logical signal
7
9 #include "mlo.h"
10 losig_list ∗getlosig(ptfig, index)
11 lofig_list ∗ptfig;
12 long index;
13
15 ptfig Pointer to the figure in which the signal should be
16 seeked
17
18 index Index of the signal
19
21 getlosig looks in the list of signals of the logical model pointed to
22 by ptfig for a signal identified by its index. This signal is unique,
23 since the index is the signal identifier.
24
26 getlosig returns a pointer to the signal that matches the index.
27
29 "∗∗∗ mbk error ∗∗∗ illegal getlosig signal index doesn't exist in fig‐
30 ure ptfig->NAME"
31 No signal has index as INDEX in the figure.
32
34 #include "mlo.h"
35 losig_list ∗get_sig_by_name(figname, index)
36 char ∗figname;
37 long index;
38 {
39 return getlosig(getlofig(figname), index);
40 }
41
43 mbk(1), lofig(3), losig(3), addlosig(3), dellosig(3).
44
45
46
47
48
49
50ASIM/LIP6 October 1, 1997 GETLOSIG(3)