Also be aware of your conditional comparisons when using an integer and a double.


if $year/4 = cdbl($year)/4

produces a different result from that of


if cdbl($year)/4 = $year/4

The double needs to be on the left side of the compare.

[edit]
Doh! Shawn I think already stated this...
[/edit]


Edited by Howard Bullock (2005-08-25 03:15 PM)
_________________________
Home page: http://www.kixhelp.com/hb/