Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

Incompatible type for NOT operator: nullable`1[system.boolean].

$
0
0

Hello, all

I am having a strange problem in consuming my PB.NET assebly in another PB.NET application.

 

I have a function InitializeComponent in the assebly, which returns boolean,

But when I try to use it in the following code:

 

//---------------------------

if not ln_guest_srv.InitializeComponent(gs_odbc) then

  return false

end if

//-------------------------

 

I get the following error:

 

Incompatible type for NOT operator: nullable`1[system.boolean].

 

 

Is there some definition problem in the assembly?

 

Arcady


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>