From: Scott W. <swa...@my...> - 2003-02-25 15:47:17
|
> Hi, > I want to compare a date field in a database to the current date. > I thought (lt (int %0) (int gcd)) would do the trick. Obviously, > it does not work. Ah. I think you want: (lt (int %0) (int (gcd))) This casts the return value of the function call 'gcd' as an int whereas (int gcd) casts the string 'gcd' as an int Let me know if this doesn't fix things. -Scott |