diamondtektips
Programmer
can somebody give me a code snippet demonstrating a multiline if..then..else statement, or tell me what's wrong with the following:
if a>b then
{
statement 1
statement 2
}
else
{
statement 1
statement 2
}
i've programmed in vb before and normally to type in a multiline "then" clause i'd put { before and } after statement 1 and 2, however crystal thinks that i'm going to type in a field... how do i do this?
if a>b then
{
statement 1
statement 2
}
else
{
statement 1
statement 2
}
i've programmed in vb before and normally to type in a multiline "then" clause i'd put { before and } after statement 1 and 2, however crystal thinks that i'm going to type in a field... how do i do this?