Author Topic: 2-parameter $IsNull() function  (Read 1244 times)

boroda

  • Sr. Member
  • ****
  • Posts: 4657
$IsNull() function is very frequently used this way:

$IsNull(somevalue,nullvalue,somevalue)

it would be great to have also simplified version of this function:

$IsNull(somevalue,nullvalue)

which will do the same. not a big deal, but this will enhance reading of many formulas.

hiccup

  • Sr. Member
  • ****
  • Posts: 7908
I'm not sure about a possibly confusing consequence that would have.

Currently it is understood that for MB, $IsNull needs three parameters.
That's also explained in tutorials, and you can see and deduct that from looking at existing formulas.

If it could contain either two or three parameters, that might give rise to a different sort of confusion?

boroda

  • Sr. Member
  • ****
  • Posts: 4657
@hiccup, new function might have new name. i care about functionality.