📄 indecs.for
字号:
SUBROUTINE INDECS(I1,I2,*)*-----------------------------------------------------------------------** Sub-task of routine INDECO.* Stores string without {} from SSTA(I1:I2) into SKYSTR,* sets NKYSTR, LKYSTR, KKYSTA, KKYEND.**----------------------------------------------------------------------- include 'param.h' include 'alcaza.h' include 'keycom.h'* L=I2-I1-1 IF(NKYSTR.EQ.MXKNAM.OR.LKYSTR+L.GT.MDIMST) THEN WRITE (MPUNIT,10000) NKYSTR,MXKNAM,MDIMST RETURN 1 ENDIF NKYSTR=NKYSTR+1 KKYSTA(NKYSTR)=LKYSTR+1 SKYSTR(LKYSTR+1:LKYSTR+L)=SSTA(I1+1:I2-1) LKYSTR=LKYSTR+L KKYEND(NKYSTR)=LKYSTR10000 FORMAT(/1X,8('*-*-'),' WARNING - no. of strings in commands =', +I5,' has reached maximum =',I5/ 33X, +' or total length has reached maximum =',I5,' rest ignored') END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -