Yodous Apprentice
Joined: 23 Jun 2004 Posts: 105 Location: Poland
|
Posted: Fri Oct 09, 2009 12:34 am
Tabs in functions (%) |
Hi.
I hav some function, let's name it 'test' with value:
Code: |
#RETURN %switch(%ends(%1, a), %leftback(%1, 1)e,%ends(%1, u), %leftback(%1, 1)a,true, %1a) |
To make it more flexible for modify I would like to looks it somehing like:
Code: |
#RETURN %switch(%ends(%1, a), %leftback(%1, 1)e,
%ends(%1, u), %leftback(%1, 1)a,
true, %1a
) |
But it doesn't work. I must say, that in my function there are far more conditions than only presented 3 (this is only an example).
Can You please Zugg consider making functions works, even if inside their bodies are used 'enter' key?
Best regards
Yodous
PS. Maybe You have some other idea, how to face a lots of conditions, instead of %switch() or a lots of %if() :)[/code] |
|