/[PAMELA software]/gpamela/aux/readseeds.f
ViewVC logotype

Annotation of /gpamela/aux/readseeds.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3.1 - (hide annotations) (download)
Mon Jul 25 11:53:20 2005 UTC (19 years, 4 months ago) by cafagna
Branch: MAIN
CVS Tags: v4r4, v4r5, v4r6, v4r7, v4r3, v4r8, v4r9, v4r14, v4r12, v4r13, v4r10, v4r11, HEAD
Several updates. See history for details

1 cafagna 3.1 PROGRAM READSEEDS
2     C # A simple program to read out the seed in a binary file
3     integer lun,length
4     integer ran(4)
5     character*256 filename
6    
7     lun=1
8     print*, " Please enter the filename :"
9     read*,filename
10     length=len_trim(filename)
11     print*, " Opening file : ",filename(1:len_trim(filename))
12     open(unit=lun,file=filename,
13     + status='old',form='unformatted')
14     read(lun) ran
15     print*, " Seeds found : ",ran
16     close(lun)
17     stop
18     end

  ViewVC Help
Powered by ViewVC 1.1.23