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

PB 12.6 B#4081 variable declare with assignment bug or what ?s

$
0
0

I have code in PB 12.5.1 (B#4015) that works as BOOLEAN lb_false = FALSE, lb_true = TRUE.

The same code in PB 12.6 B#4081 had the value of lb_true = FALSE after execution of the above statement (see attached).

 

I assume this is a bug and that a better standard maybe should be used.  Another person and now I can't seem to reproduce the issue though.

This is running in development mode under a VM environment connected to source control using Serena PVCS V8 4.4.0 B#021.

 

Hum, maybe a hidden character or just a rough memory day.  Any feedback appreciated as always.

 

Maybe a better standard?

BOOLEAN lb_false, lb_true

lb_false     = FALSE

lb_true     = TRUE

 

OR

 

just forget the local variable in this case and use FALSE or TRUE in coding such as

RETURN TRUE instead of RETURN lb_true

 

I forget, is there a place to see the reported and verified PB 12.6 bugs?


Viewing all articles
Browse latest Browse all 2935

Trending Articles



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