Verify if dotnet variable already instantiated

andrewtandrewt Member Posts: 73
edited 2014-04-01 in NAV Three Tier
Hi all,
I am wondering if it would be possible to verify from NAV C/AL code if a variable of type dotnet has already been instantiated.

Any hints ?
Andrew

Answers

  • matsnmatsn Member Posts: 10
    Hey,

    you can use ISNULL(DotNet Var) to check if the variable is instantiated. There seems to be no documentation for this function though.

    matsn
  • geordiegeordie Member Posts: 655
    What about using ISNULL statement?

    Edit: sorry, I missed matsn's post :oops:
  • andrewtandrewt Member Posts: 73
    Perfect ! That's exactly what I was looking for.
    Thanks guys for the quick response.

    Cheers
    Andrew
Sign In or Register to comment.