The digital computer analysis of dynamic systems, described by differential equations, is often complicated when a discontinuity causes the equations to change. This paper discusses the problems introduced by discontinuities and describes subroutines which may be used in conjunction with a general purpose integration routine to aid the modelling of discontinuous systems.