If I read a text field string that is Null ( empty)
What is the best way to handle it before trying to convert to double etc?
As this throws an exception
double fieldValue;
if (!Double.TryParse(AS3.Getfield(12345), out fieldValue))
{
exec.AddStatusmessage("Cannot convert to double");
return;
}
Users browsing this forum: Bing [Bot] and 0 guests