home *** CD-ROM | disk | FTP | other *** search
- %elibo.ccc
- *$Header$
- *$Log$
- **************
- *7-6-90
- r35=0
- r32=0
- r33=4
- c9 1 ='f'
- ovl elibsave
- if r1 eq 0 :B
- mess System Error (ELIBSAVE, option 'f', rc= #r1 )
- getwe;goto :z
- :B
- r2=1
- mess end-condition file name (1-8 char.)
- :w
- getc c1 8
- ascii c1 r3
- if r3 eq 32 :p
- c80=' '
- c81 3 ='iii'
- c85 ='A'
- r80=0
- r82=0
- r83=0
- r88=1
- command chkfil
- if r83 ne 0 :p
- if r80 eq 1 :I
- mess file for end-cond. " #c1 8 " not found, add another end-cond.?
- goto :P
- :p
- mess " #c1 8 " is invalid end-condition name, add another end-cond.?
- goto :P
- :I
- mess end-cond. description (1-40 char.,no spaces), <ENTER>-no descr.
- getw
- *getc c211 40
- r37=0
- r38=40
- r39=211
- r1=0
- ovl getc
- if r1 ne 0 :I
- :i
- r1=r2
- ovl inclib
- if r1 ne 0 :E
- r35=r35+1
- :A
- mess add another end-condition ?
- :P
- getyn r1
- if r1 eq 0 :Q
- goto :B
- :Q
- if r35 eq 0 :a
- c9='f'
- ovl elibedit
- if r1 ne 0 :Z
- *Set view plane to XY
- c111 = 'x'
- c112 = '0'
- c113 = '0'
- c114 = '0'
- i40 = 4;ovl zzref
- goto :a
- :Z
- mess System Error (ELIBEDIT, option 'f', rc= #r1 )
- getwe
- goto :z
- :E
- if r1 eq 1 :R
- if r1 eq 5 :F
- mess System Error (INCLIB, rc= #r1 ), add another end-cond.?
- goto :P
- :R
- mess Error reading " #c1 8 " (bad or empty file), add another end-cond.?
- goto :P
- :F
- mess " #c1 8 " is already in the library, overwrite ?
- getyn r2
- if r2 eq 0 :A
- r2=2
- goto :i
- :z
- macro rslib
- :a
- macro elibi
-