home *** CD-ROM | disk | FTP | other *** search
- %edcom.ccc
- *$Header$
- *$Log$
- *********
- *Ilana 27/10/91
- :j
- ascii c100 r13
- if r13 eq 32 :w
- mess illegal command, use \GEOM first !
- getwe
- goto :j
- :w
- c148 8 = ' '
- c2 8 = ' '
- :i
- mess 2D/3D library name (1-8 char.)
- :a
- def c148 8
- getc c148 8
- c80=' '
- c81 3 ='iii'
- c85 ='A'
- r80=0
- r82=0
- r83=0
- r88=148
- command chkfil
- if r83 eq 0 :A
- mess Error, invalid file name, enter name again :
- goto :i
- :A
- if r80 eq 1 :x
- mess library " #c148 8 " not found, enter another name:
- goto :a
- :x
- r81=0
- mess library object name [<ENTER> for graphic lib.]
- getc+ c2 8
- if r93 eq 0 :I
- c141 7 = 'user3@-'
- mess #c141 15
- ovl popmnu
- if r81 eq 0 :x
- * Selected object name is in c221-c228
- c2=c221
- c3=c222
- c4=c223
- c5=c224
- c6=c225
- c7=c226
- c8=c227
- c9=c228
- * object name is in c2:c9
- :I
- * get comment from element into c211:250
- c1='g'
- ovl editcomm
- if r1 eq 0 :O
- if r1 eq 1 :1
- if r1 eq 2 :2
- mess System Error (editcomm, option 'g', rc= #r1 )
- getwe
- goto :q
- :O
- mess enter new comment for " #c2 8 " (1-40 char., no spaces)
- *def c211 40
- *c49='t'
- *getc c211 40
- r37=1
- r38=40
- r39=211
- r1=0
- ovl getc
- if r1 ne 0 :O
- * put comment from c211:250 into element
- c1 = 'p'
- ovl editcomm
- if r1 ne 0 :3
- mess update comment in another object ?
- goto :m
- :1
- mess " #c2 8 " not in library, update comment in another object ?
- :m
- getyn r1
- if r1 eq 0 :i
- goto :x
- :2
- mess error reading comment from " #c2 8 "
- getwe
- goto :q
- :3
- mess error ( rc = #r1 ) updating comment in " #c2 8 "
- getwe
- goto :q
- :q
-