home *** CD-ROM | disk | FTP | other *** search
- msg 'cfChinese character edit'
- ; set wwsect=4
- ; set wwbyte=0
- set r30=wwsect
- set r31=wwbyte
- set r29=CAFONT
- set r28=fbfdcn
- set fbfdcn=fbfdcn & @175777
- prompt:
- cmd nulcmd
- msg 'st '
- msg 'prIdentify the chinese character,R..exit'
- cmd locele
- get p,find,r,exituc
- go prompt
- find:
- msg 'er '
- set i1=xur
- set i2=yur
- pnt ,,,,,,,1
- tst relerr ne 0, prompt
- msg 'prAccept / Reject'
- get p,check,r,find
- check:
- msg 'prKeyin new chinese char.'
- TST NDICES,EQ,3,TX3
- tst TX.NCH,gt,1,tom
- go edit
- TX3: TST TX.NC3,GT,1,TOM
- GO EDIT
- tom:
- SET MSG='PRTEXT No.='+TX.NCH
- msg MSG
- msg 'erToo many char. selcet only 1 char.'
- GET K,PROMPT
- go prompt
- TX3D:
- SET TX.LT3(1)=R0
- GO WRTX
- edit:
- set r4=curebl
- set r5=cureby
- set r6=dfsect
- set r7=dfbyte
- key 'ft=3'
- cmd ptext
- set key=' '
- key key
- pnt
- set tsksiz=180
- tsk 'c:\exe\hanone.exe'
- TST CAFONT,EQ,37,EXITUC
- red r4,r5
- set TX.FON=CAFONT
- TST NDICES,EQ,3,TX3D
- set TX.LET(1)=R0
- WRTX: wrt r6,r7
- set wwsect=r4
- set wwbyte=r5
- cmd dlelem
- pnt i1,i2
- pnt
- set wwsect=r6
- set wwbyte=r7
- key 'iupdate'
- pnt
- set wwsect=r30
- set wwbyte=r31
- ; get p,prompt
- go prompt
- exituc:
- msg 'er '
- msg 'cf '
- msg 'pr '
- cmd nulcmd
- set CAFONT=r29
- set fbfdcn=r28
- end