summaryrefslogtreecommitdiffstats
path: root/ZMA.FOR
diff options
context:
space:
mode:
authorAnton Šijanec <sijanecantonluka@gmail.com>2020-03-30 15:24:15 +0200
committerAnton Šijanec <sijanecantonluka@gmail.com>2020-03-30 15:24:15 +0200
commit37fc0b25d852dba0ce7a329678c5c30a028be00f (patch)
tree80e58fb4000efc4fcf3f7afccbda0f4a6a48f93b /ZMA.FOR
downloadZVEZDE-37fc0b25d852dba0ce7a329678c5c30a028be00f.tar
ZVEZDE-37fc0b25d852dba0ce7a329678c5c30a028be00f.tar.gz
ZVEZDE-37fc0b25d852dba0ce7a329678c5c30a028be00f.tar.bz2
ZVEZDE-37fc0b25d852dba0ce7a329678c5c30a028be00f.tar.lz
ZVEZDE-37fc0b25d852dba0ce7a329678c5c30a028be00f.tar.xz
ZVEZDE-37fc0b25d852dba0ce7a329678c5c30a028be00f.tar.zst
ZVEZDE-37fc0b25d852dba0ce7a329678c5c30a028be00f.zip
Diffstat (limited to 'ZMA.FOR')
-rw-r--r--ZMA.FOR47
1 files changed, 47 insertions, 0 deletions
diff --git a/ZMA.FOR b/ZMA.FOR
new file mode 100644
index 0000000..e6ead50
--- /dev/null
+++ b/ZMA.FOR
@@ -0,0 +1,47 @@
+C * subroutine dodal jaz da bi popravil gettime *
+ subroutine GetTim(ihr,imin,isec,i100th)
+ integer(4), intent(out):: ihr, imin, isec, i100th
+ character(8):: sdate
+ character(10):: stime
+ call date_and_time(sdate,stime)
+ read(sTime,"(I2,I2,I2,1x,I3)") ihr, imin, isec, i100th
+ end subroutine GetTim
+ SUBROUTINE ZMA
+ CALL GETTIM(LU,LM,LS,L)
+ I=INT(L/10)+1
+ GO TO (10,20,30,40,50,60,70,80,90,100),I
+10 WRITE(*,11)
+11 FORMAT(1X,'Smola - ne obupaj!')
+ GO TO 200
+20 WRITE(*,21)
+21 FORMAT(1X,'Vec treniraj!')
+ GO TO 200
+30 WRITE(*,31)
+31 FORMAT(1X,'Se vec treniraj!')
+ GO TO 200
+40 WRITE(*,41)
+41 FORMAT(1X,'Vprasanje je, ce vaja res dela mojstra.')
+ GO TO 200
+50 WRITE(*,51)
+51 FORMAT(1X,'Nisi samo ti slab. Tudi Janez je izgubljal.')
+ GO TO 200
+60 WRITE(*,61)
+61 FORMAT(1X,'Drugic bo bolje!')
+ GO TO 200
+70 WRITE(*,71)
+71 FORMAT(1X,'Ne gre ti dobro. Vec misli!')
+ GO TO 200
+80 WRITE(*,81)
+81 FORMAT(1X,'Predvsem pa brez panike! Casa za uk je dovolj.')
+ GO TO 200
+90 WRITE(*,91)
+91 FORMAT(1X,'Verjetno si politik. Po stilu sem te spoznal.')
+ GO TO 200
+100 WRITE(*,101)
+101 FORMAT(1X,'Izgubljas, toda tu in tam bos tudi dobil, ce'/
+ * 1x,'bos vadil.')
+200 CONTINUE
+ PAUSE '<ENTER>'
+ RETURN
+ END
+