⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 namtab.for

📁 This Source-Navigator, an IDE for C/C++/Fortran/Java/Tcl/PHP/Python and a host of other languages.
💻 FOR
字号:
      SUBROUTINE NAMTAB(SNAME,SLIST,NLIST,IPOS)*-----------------------------------------------------------------------**   enters a name in an alphabetic table, or gives position if already i**   input*   SNAME                   name to be entered*   SLIST                   name list*   NUMTAB                  reference list to be updated (integers)*   NLIST                   no. of names in SLIST*   Output*   IPOS                    <0: -pos of name already in table*                           =0: NLIST <0*                           >0: pos of newly entered name in table**+++++++++++ IMPORTANT*   In case the name has been entered, the user must increase the list*   length himself.*-----------------------------------------------------------------------      CHARACTER *(*) SNAME,SLIST(*)      IF(NLIST.LT.0)  THEN         IPOS=0      ELSEIF(NLIST.EQ.0)  THEN         IPOS=1         SLIST(1)=SNAME      ELSE         CALL NAMSRC(SNAME,SLIST,NLIST,KPOS,LAST)         IF (KPOS.EQ.0)  THEN*--- name not yet in table            IPOS=LAST+1            DO 10 I=NLIST,IPOS,-1               SLIST(I+1)=SLIST(I)   10       CONTINUE            SLIST(IPOS)=SNAME         ELSE            IPOS=-KPOS         ENDIF      ENDIF      END

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -