I think erich.oliphant wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> (if (eq ?effRate nil) then
> ;;(dts-log-error "No effective rate found for " (call
> com.ngc.dts.util.DateUtils formatDateTime ?pddate))
> return )
That "return" is just the symbol "return",
Hmm,
Am i doing something wrong here then,
I have this code on the RHS:
--
(bind ?effRate (ognl-get ?pdLocation "getEffectivePerDiemRate(#date)" "date"
?pddate))
(if (eq ?effRate nil) then
;;(dts-log-error "No effective rate found for " (call
com.ngc.dts.util.DateUtils formatDateTime ?pdda
I think erich.oliphant wrote:
> I need to make sure that ?objVal is not nill before proceeding further. I
> don't see any functions that might help me here. (if (eq ..)) doesn't work
> since it's going to try to call Object.equals().
Actually, "eq" works fine.
I have a defrule like this:
(
...
=>
...
(bind ?objVal (get ?obj property))
...
)
I need to make sure that ?objVal is not nill before proceeding further. I
don't see any functions that might help me here. (if (eq ..)) doesn't work
since it's going to try to call Object.equals(). There a