Hi,
it's a known issue, I plan to fix it in 2.0-M5 release.
Best regards,
Victor
it's a known issue, I plan to fix it in 2.0-M5 release.
Best regards,
Victor
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
x = 1;
y = null;
z = x / y;
println "z=" . z;
Error 5 in line 4: Invalid operation with NULL value
x = 1;
y = null;
try
{
z = x / y;
}
catch
{
z = "ERROR CODE=" . $errorcode . "; LINE=" . $errorline . "; TEXT=" . $errortext;
}
println "z=" . z;
C:\Source\NetXMS\x64\debug>nxscript.exe test20.nxsl
NetXMS Scripting Host Version 2.0-M5
Copyright (c) 2005-2015 Victor Kirhenshtein
z=ERROR CODE=5; LINE=6; TEXT=Error 5 in line 6: Invalid operation with NULL value
C:\Source\NetXMS\x64\debug>