Subversion Repositories wimsdev

Rev

Rev 4349 | Rev 15523 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4349 Rev 13585
Line 1... Line 1...
1
!if $wims_read_parm!=slib_header
1
!if $wims_read_parm!=slib_header
2
 !goto proc
2
  !goto proc
3
!endif
3
!endif
4
 
4
 
5
slib_author=Gang, XIAO
5
slib_author=Gang, XIAO
6
 
6
 
7
slib_example=5/br2out,2,6,blue,medium
7
slib_example=5/br2out,2,6,blue,medium
Line 10... Line 10...
10
 
10
 
11
:proc
11
:proc
12
!distribute items $wims_read_parm into slib_type,slib_lwid,slib_dwid,slib_color,slib_textsize
12
!distribute items $wims_read_parm into slib_type,slib_lwid,slib_dwid,slib_color,slib_textsize
13
slib_c=!char 1 of $slib_type
13
slib_c=!char 1 of $slib_type
14
!if $slib_c isin 123456789
14
!if $slib_c isin 123456789
15
 slib_prefix=data/circuits
15
  slib_prefix=data/circuits
16
!else
16
!else
17
 slib_prefix=
17
  slib_prefix=
18
!endif
18
!endif
19
slib_out=
19
slib_out=
20
!default slib_color=black
20
!default slib_color=black
21
!bound slib_lwid between integer 1 and 10 default 1
21
!bound slib_lwid between integer 1 and 10 default 1
22
!bound slib_dwid between integer 2 and 20 default 7
22
!bound slib_dwid between integer 2 and 20 default 7
Line 24... Line 24...
24
 
24
 
25
slib_rec=$slib_prefix/$slib_type.data
25
slib_rec=$slib_prefix/$slib_type.data
26
slib_wiring=!record 4 of $slib_rec
26
slib_wiring=!record 4 of $slib_rec
27
slib_dots=!record 5 of $slib_rec
27
slib_dots=!record 5 of $slib_rec
28
!if $slib_wiring=
28
!if $slib_wiring=
29
 !exit
29
  !exit
30
!endif
30
!endif
31
slib_range=!record 2 of $slib_rec
31
slib_range=!record 2 of $slib_rec
32
slib_wiring=!replace internal _dot_ by $slib_dwid in $slib_wiring
32
slib_wiring=!replace internal _dot_ by $slib_dwid in $slib_wiring
33
 
33
 
34
slib_out=!replace internal _color_ by $slib_color in \
34
slib_out=!replace internal _color_ by $slib_color in \
35
linewidth=$slib_dwid\
35
linewidth=$slib_dwid\
36
points _color_,$slib_dots\
36
points _color_,$slib_dots\
37
linewidth=$slib_lwid\
37
linewidth=$slib_lwid\
38
$slib_wiring
38
$slib_wiring
39
 
-