10.6.3 date-value bug

Q&A's, tips, howto's

10.6.3 date-value bug

Postby zhanglong » Sat Jul 18, 2015 2:22 pm

The year parameter never get evalueated.

params = getIntegerExt(params, (UINT *)&year, FALSE);

change FALSE to evalFlag please.
zhanglong
 
Posts: 9
Joined: Thu Jun 27, 2013 3:58 pm

Re: 10.6.3 date-value bug

Postby zhanglong » Sat Jul 18, 2015 2:31 pm

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.
zhanglong
 
Posts: 9
Joined: Thu Jun 27, 2013 3:58 pm

Re: 10.6.3 date-value bug

Postby Lutz » Sat Jul 18, 2015 5:27 pm

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/
Lutz
 
Posts: 5276
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California


Return to newLISP in the real world

Who is online

Users browsing this forum: No registered users and 1 guest