home *** CD-ROM | disk | FTP | other *** search
- CMD NULCMD
- MSG 'CFPlace chinese char.'
- KEY 'TX=$'
- SET R15=0
- SET A11=0
- SET R31=WWSECT
- SET R30=WWBYTE
- SET OUTFLG=OUTFLG ! 8
- MSG 'PRTEXT HEIGHT'
- NEXT0: MSG 'ERD.. OK, OR KEYIN NEW VALUE'
- GET P,NEXT1,K,KEYIN1,R,EXITUC,M,OCMD
- GO NEXT0
- KEYIN1: TST K0,EQ,0,NEXT1
- SET KEY='TH='+KEY
- KEY KEY
- NEXT1: MSG 'PRTEXT WIDTH'
- GET P,ANGLE,K,KEYIN2
- GO NEXT1
- KEYIN2: TST K0,EQ,0,ANGLE
- SET KEY='TW='+KEY
- KEY KEY
- ANGLE: KEY 'AA=$'
- MSG 'PRANGLE of Character'
- GET P,DEFAA,K,NEWAA
- GO ANGLE
- NEWAA: TST K0,EQ,0,DEFAA
- SET KEY='AA='+KEY
- KEY KEY
- DEFAA: SET A0=ACTANG
- MSG 'PRAngle between 2 CHARACTER'
- GET P,LNS,K,NEWAC
- GO DEFAA
- NEWAC: TST K0,EQ,0,LNS
- SET A0=KEY
- LNS:
- KEY 'LS=$'
- MSG 'PRLine spacing'
- GET P,NEXT19,K,NEWLS
- GO LNS
- NEWLS: TST K0,EQ,0,NEXT19
- SET KEY='LS='+KEY
- KEY KEY
- NEXT19:
- SET MSG='STNet spacing is '+A11
- MSG MSG
- MSG 'PRCharacter net spacing (D..0)'
- GET P,NEXT20,K,NEWCS
- GO LNS
- NEWCS: TST K0,EQ,0,NEXT20
- SET A11=KEY
- NEXT20:
- MSG 'ST '
- MSG 'PRFont D..Single line,or(K/M/H/L/S)=?'
- GET K,FONT,P,NEXT22
- GO NEXT20
- FONT: SET C1=KEY
- TST C1(1),EQ,'K',NEXT21
- TST C1(1),EQ,'k',NEXT21
- TST C1(1),EQ,'M',NEXT21
- TST C1(1),EQ,'m',NEXT21
- TST C1(1),EQ,'H',NEXT21
- TST C1(1),EQ,'h',NEXT21
- TST C1(1),EQ,'L',NEXT21
- TST C1(1),EQ,'l',NEXT21
- TST C1(1),EQ,'S',NEXT21
- TST C1(1),EQ,'s',NEXT21
- GO NEXT20
- NEXT21: SET R15=1
- MSG 'PRD.. Hole char., R..Filled char.'
- GET P,KEYIN3,R,FILL
- GO NEXT21
- FILL: SET R10=5
- MSG 'PRDistance between filled line 1 is 0.01'
- MSG 'ER2 is 0.02, 3 is 0.03 master unit,etc.'
- GET R,KEYIN3,P,KEYIN3,K,FILPEN
- FILPEN:
- SET R10=KEY
- TST R10,LE,0,FILL
- KEYIN3:
- MSG 'ER '
- NEXT22: MSG 'PRKeyin filename =? (D..=CIS.OUT)'
- MSG 'ER '
- GET K,KEYIN4,P,CIS,R,EXITUC,M,OCMD
- GO NEXT21
- CIS: SET C0='CIS.OUT'
- GO POINT
- KEYIN4: TST K0,EQ,0,CIS
- SET C0=KEY
- POINT:
- MSG 'PRPoint to place text'
- GET P,NEXT3
- GO POINT
- NEXT3:
- MSG 'PR '
- MSG 'ER '
- SET WWBYTE=DFBYTE
- SET WWSECT=DFSECT
- KEY 'NOECHO'
- TST N0,NE,0,HOLE
- SET C0='CIS.OUT'
- HOLE: TST R15,EQ,0,SINGL
- SET N1=0
- SET R12=0
- SET TSKSIZ=200
- TSK 'C:\EXE\CHINAH.EXE'
- TST R12,EQ,0,OK
- TST R12,EQ,11,NOFIL
- MSG 'ERHOL. vector file not found'
- msg 'pr '
- SINGL:
- SET R12=0
- SET TSKSIZ=180
- TSK 'C:\EXE\PCHINA.EXE'
- TST R12,EQ,0,OK
- TST R12,EQ,11,NOFIL
- MSG 'ERCIS TABLE FILE NOT FOUND'
- GO EXITUC
- NOFIL:
- MSG 'ERFile open error, Keyin again'
- GO EXITUC
- OCMD:
- MSG 'CF '
- MSG 'PR '
- SET WWSECT=R31
- SET WWBYTE=R30
- SET OUTFLG=OUTFLG & -9
- SET CONTRL=CONTRL & -769
- SLI
- GO END
- OK: MSG 'PRCHINESE CHARCTER OK.'
- SET MSG='ER '+C13
- MSG MSG
- KEY 'IUPDATE'
- PNT
- EXITUC: MSG 'CF '
- MSG 'PR '
- SET WWSECT=R31
- SET WWBYTE=R30
- SET OUTFLG=OUTFLG & -9
- KEY 'ECHO'
- END: end
-