Contents Topics Index  <<  >>

IncreaseMonth func


Unit

WallCalendar

Declaration

Function IncreaseMonth ( var TheMonth : TCalendarMonth  ;
var TheYear : integer ) : boolean ;

Description

The IncreaseMonth procedure will increase the TheMonth parameter by one. If the passed-in month is December, the TheYear property will also be increased. If passed-in year is invalid,, or if increasing the TheYear property violates the MaxYear bounds, the function will return a false result, otherwise the result will be true.

See also: DecreaseMonth