Load and With with local variable

Hi ,

I know it could be an silly question but as i am learner so for me need to understand Why ??

Why with is not accepting load variable and throwing Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error : Cannot add incompatible operands of type Number (Integer) and type Null.

load(
local!c:10,

with(

local!a:10, local!b:20,

local!a+local!b+local!c)
)

 

But if we do reverse its working.

 

load(

with(
local!c:10,
local!a:10, local!b:20,

local!a+local!b+local!c)
)

Could not display interface. Please check definition and inputs. Interface Definition: Not a valid component. Received: 40

  Discussion posts and replies are publicly visible

Parents
  • Hi ,

    Even though the method you are following is not the correct one for debugging purpose also.

    But

    load(
    local!c:10,

    with(

    local!a:10, local!b:20,

    local!a+local!b+local!c)
    )

    the above code is giving the same error as its reverse code:

    Could not display interface. Please check definition and inputs. Interface Definition: Not a valid component. Received: 40

    So please check it once.

    And as suggested by everyone please use integer field or text field for debugging in interface.
Reply
  • Hi ,

    Even though the method you are following is not the correct one for debugging purpose also.

    But

    load(
    local!c:10,

    with(

    local!a:10, local!b:20,

    local!a+local!b+local!c)
    )

    the above code is giving the same error as its reverse code:

    Could not display interface. Please check definition and inputs. Interface Definition: Not a valid component. Received: 40

    So please check it once.

    And as suggested by everyone please use integer field or text field for debugging in interface.
Children
No Data