Testing attribute existence on 3.x
15 May
2014
15 May
'14
11:32 a.m.
I have a feeling I've asked this before so apologies if so, but... How do I do this: if (list:Attr) { } I just get: ^ Expected a module return code ...on startup when I do this. This seems gross: if (list:Attr =~ /.*/) { } ...but does work. This is with current GIT head. "man unlang" seems to suggest what I'm doing should work?
15 May
15 May
12:04 p.m.
On 15/05/14 16:32, Phil Mayers wrote:
I have a feeling I've asked this before so apologies if so, but...
How do I do this:
if (list:Attr) { }
I just get:
^ Expected a module return code
Never mind, this is a problem on my end. The attribute was a locally-defined one that had managed to get commented out in the dictionary.
4437
Age (days ago)
4437
Last active (days ago)
1 comments
1 participants
participants (1)
-
Phil Mayers