Hi Derik,
No that doesn't solve my problem. But there must be something wrong
upstream in my worklflow for the expression to think s never equals nil.
If I make a really simple workflow (attached) I can get the expression
to work correctly. However, the problem is still in the RecordAssembler.
Derik,
attached is another really simple workflow that isolates the problem
with the expression. As soon as I put the selector between the nil
constant and the expression, the expression doesn't recognize nil as nil
anymore. And it doesn't work with or without quotes around nil.
any
Hi Corinna,
By definition nil tokens are not equal to anything
Try using
s.isNil()?NULL:s
http://ptolemy.eecs.berkeley.edu/ptolemyII/ptIIlatest/ptII/doc/expressionsa9.htm
says
--start--
3.8 Nil Tokens
Null or missing tokens are common in analytical systems like R and SAS where
they are used to
thanks Christopher, that makes the expression work after the selector -
and makes sense, of course.
Corinna
Christopher Brooks wrote:
Hi Corinna,
By definition nil tokens are not equal to anything
Try using
s.isNil()?NULL:s
4 matches
Mail list logo