📄 getint.for
字号:
SUBROUTINE GETINT(STRING,ICC1,ICC2,KFCH,KLCH,NN)*-----------------------------------------------------------------------** routine to extract one positive integer from a BCD string.* input* STRING input string* ICC1 starting pos. for scan* ICC2 end - - -* output* KFCH pos. of first character of integer in STRING,* or 0 if no integer found.* KLCH pos. of last ch. in STRING.* NN integer in integer format. (set to zero when none found)**----------------------------------------------------------------------- CHARACTER*(*) STRING NN=0 CALL CHRTYP(1,STRING,ICC1,ICC2,.FALSE.,KFCH,ILEV) IF(KFCH.NE.0) THEN CALL SKIPTP(1,STRING,KFCH,ICC2,.FALSE.,KLCH,ILEV) NN=NEXTIN(STRING,KFCH,KLCH) ENDIF END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -