File: scilab.f

package info (click to toggle)
scilab 2.2-4
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 31,472 kB
  • ctags: 21,963
  • sloc: fortran: 110,983; ansic: 89,717; makefile: 3,016; sh: 1,892; csh: 150; cpp: 101
file content (27 lines) | stat: -rw-r--r-- 666 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
      subroutine scilab(nos)
      character*100  bu1
      integer  nc,nos,ierr
      common /comnos/ nos1,mem
c     ----------
c     initialize 
c     ----------
      call inisci(-1,mem, ierr)
      if(ierr.gt.0) return
c     ----------------------------------------
c     get startup instruction and start parser
c     ----------------------------------------
      if(nos1.eq.0) then
c     .  get initial instruction  if required
         call inffic( 2, bu1,nc)
         nc=max ( 1 , nc )
      else
         bu1=' '
         nc=1
      endif
      call scirun(bu1(1:nc))
c     --------
c     cleaning 
c     --------
      call sciquit
      return
      end