How do I end an if statement in CR4.6.1.0?
Here's my dilemma. I want to add a bunch of fields, but some of them are null. So, I need to do something like:
[tt]
if not isnull(field1) then
{
field1 +
}
if not isnull(field2) then
{
field2 +
}
...
if not isnull(fieldx) then
{
fieldx +
}
0
[/tt]
BUT, since I can't use the curly c-style brackets to denote the end of an if statement, (and a one liner doesn't work) all the statements after the first untrue if don't get executed because CR thinks i'm trying to nest the ifs...
help me
Here's my dilemma. I want to add a bunch of fields, but some of them are null. So, I need to do something like:
[tt]
if not isnull(field1) then
{
field1 +
}
if not isnull(field2) then
{
field2 +
}
...
if not isnull(fieldx) then
{
fieldx +
}
0
[/tt]
BUT, since I can't use the curly c-style brackets to denote the end of an if statement, (and a one liner doesn't work) all the statements after the first untrue if don't get executed because CR thinks i'm trying to nest the ifs...
help me