|
makena Apprentice
Joined: 11 Aug 2006 Posts: 100
|
Posted: Thu Aug 24, 2006 5:40 pm
%len |
In Zmud this worked, now I cannot seem to get it to work..
Code: |
#alias a
{
#if {%len( %0)=0} {SessionA:}
#if {%len( %0)>1} {:SessionA:%0}
} |
Seems as though %len() is not working yet, anyone know for sure? |
|
|
|
Rorso Wizard
Joined: 14 Oct 2000 Posts: 1368
|
Posted: Thu Aug 24, 2006 5:54 pm |
Try change:
#if {%len( %0)=0} {SessionA:}
#if {%len( %0)>1} {:SessionA:%0}
to:
#if (%len( %0)=0) {SessionA:}
#if (%len( %0)>1) {:SessionA:%0}
The condition should be surrounded by parantheses, not by brackets :). |
|
|
|
makena Apprentice
Joined: 11 Aug 2006 Posts: 100
|
Posted: Thu Aug 24, 2006 10:13 pm |
Thanks, working perfectly now. Didn't notice that change. :(
|
|
|
|
|
|