Skip to content

Instantly share code, notes, and snippets.

@natebenes
Created April 1, 2010 17:30
Show Gist options
  • Save natebenes/352106 to your computer and use it in GitHub Desktop.
Save natebenes/352106 to your computer and use it in GitHub Desktop.
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