The year parameter never get evalueated.
params = getIntegerExt(params, (UINT *)&year, FALSE);
change FALSE to evalFlag please.
Well the bug is not here, but why I can't use variable as the first parameter?
(set 'y 2015)
(date-value y 7 18)
ERR: missing argument in function date-value.
Thanks, this bug was introduced in 10.6.3, the release 10.6.2 is fine.
Fixed for 10.6.4 here: www.newlisp.org/downloads/development/inprogress/