Yes it seems 'inlist()' has some problems. For example also
'eval
inlist(a, "s")' works (for 'a' as a defined list), although
according to
the doc a string as second argument wouldn't be allowed (should be an
identifier or an ID number).
The whole thing doesn't seem to be limited to "time", it's rather a
general issue about inlist() in functions -- the 'a.s' notation works in
one case but not in the other, and vice versa for the 's' notation.
And I already thought I am too stupid to use the inlist() function
properly... ;-)
Slightly OT: What are you trying to do, Artur? As a workaround you
could
perhaps use:
if strstr(varname(rxlist), "time") != ""
(untested).
This works fine, Sven. Thanks. I totally forgot about this
construction.
Artur