login

last.gsf

Top / GrADS / script / last.gsf

Japanese / English

Name

last() - Obtain number of opened files.

Synopsis

ret = last()

Options and Return values

ret
Number of files.

Examples

(1) Show current number of files opened.

  • test.gs
    rc = gsfallow( 'on' )
    'open t.ctl'
    'open u.ctl'
    say last()
    
  • console
    ga-> test
    2
    

Script source code