Topic: calculate leap year submacro (1 of 1), Read 8 times, 1 File Attachment
Conf: VEDIT Macro Library
From: Scott Lambert
Date: Friday, June 04, 2010 05:48 PM

LeapYear.vdm is a submacro where you set n-reg 1 to the year, and Leapyear.vdm will set
return_value to 1 if it is a leapyear or 0 if not.

If you want to use my "days between dates" submacro daysdate.vdm, you will need leapyear.vdm as
daysdate.vdm makes several calls to it.

Scott

 
LEAPYEAR.VDM (1KB)