标签号码(如图:)
ENTITY/ID(999),IDL
STRING/NS(3),MS(3)
NUMBER/N,M,CS,CSOLD,IDS,IDSOLD
DATA/CS,3,IDS,10
CSOLD=&CSIZE
IDSOLD=&IDSIZE
PARAM/'INPUT SIZE',$
'CHARACTER SIZE',CS,$
'BALOON SIZE',IDS,RSP
&CSIZE=CS
&IDSIZE=IDS
START:
CHOOSE/'SELECT NUMBERING SYSTEM',$
'START','CONTINUE',DEFLT,1,RSP
JUMP/START:,END:,,,ST:,CO:,RSP
ST:
N=1
NS=SUBSTR(FSTR(N),1,1)
JUMP/LOC:
CO:
IDENT/'SELECT THE LAST NUMBER TO BE CONTINUE',IDL,RSP
MS=&DMTEXT(IDL)
N=VALF(MS)
JUMP/THEN:
LOC:
POS/'PICK POSITION OF NUMBER',X,Y,Z,RSP
JUMP/LOC:,END:,,,,RSP
ID(N)=IDSYM/CIR,X,Y,NONE,NS
THEN:
N=N+1
IFTHEN/N<10
NS=SUBSTR(FSTR(N),1,1)
ELSEIF/N>=10 AND N<=99
NS=SUBSTR(FSTR(N),1,2)
ELSEIF/N>=100
NS=SUBSTR(FSTR(N),1,3)
ENDIF
JUMP/LOC:
END:
&CSIZE=CSOLD
&IDSIZE=IDSOLD
HALT |