IF function syntax error
Posted: Thu Oct 23, 2014 7:30 am
Hi all,
Im trying to set up an IF-function but get the following message:
"Syntax error in control statment in IF"
And thisis my code:
if
2 < gap < 10 then
CCB = 0,3125*(kreditgap - 2)
else
if
gap <= 2 then
CCyB = 0
else
kreditgap >= 10 then
CCyB = 2,5
endif
endif
Any advise would be great!
Best,
Petra
Im trying to set up an IF-function but get the following message:
"Syntax error in control statment in IF"
And thisis my code:
if
2 < gap < 10 then
CCB = 0,3125*(kreditgap - 2)
else
if
gap <= 2 then
CCyB = 0
else
kreditgap >= 10 then
CCyB = 2,5
endif
endif
Any advise would be great!
Best,
Petra