Skip to Content
0
Former Member
Sep 09, 2010 at 06:53 PM

If then else

59 Views

Can anyone suggest why i never get to the Else statement ?

There are many {SRMARRAY.LASTDISCOVERYTIME} that do contain a date and time.

{

stringvar notdiscovered;

stringvar discovered := "discovered ok";

numbervar countofnullarrays;

if isnull({SRMARRAY.LASTDISCOVERYTIME})

Then (countofnullarrays := countofnullarrays+1;

notdiscovered :="NOT DISCOVERED")

Else

discovered :="discovered ok";

}