Report post

Are you sure you want to report the post shown below? This will send an email to the ATVO administrators. Please include a short reason for reporting.

Users reporting for no reason may be locked out.


Post

Posted by Jean-Christophe B
on
Thanks Dwayne ;)

I already have "" for a null value:

else
{
return "";
}


Same result if I return null instead of ""

else
{
return null;
}


It's weird... Maybe I have to try the debug suggestion:
Console.WriteLine("Write this to the event log");



EDIT:
OK script performance issue is gone by adding the "null condition" on top of every script.
Thanks Dwayne for this tip... but it's weird cause I'm already send a null/void value in my condition.

if (value == null)
{
// do something appropriate, in this case probably just return nothing
return null;
}