Created
April 1, 2010 17:30
-
-
Save natebenes/352106 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
day = -1 | |
month = 4 | |
! Look for holidays | |
IF(aprilFools(today, month)) WRITE(*,*) "Happy April Fools Day." | |
! Check if I am supposed to have class today | |
CALL getMyEvents(today, month, todaysEvents, numberOfEvents) | |
DO i=1, numberOfEvents, 1 | |
IF (todaysEvents(i) == "Fortran Review") THEN | |
WRITE(*,*) "Yay Fortran." | |
EXIT ! because Fortran trumps all other events | |
END IF | |
END DO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment