Get the value of a boolean variable

Get the value of a boolean variable

Hi,
For some reason the following method
C# Code:
this.Variables().Item("intern_rcp_Misplaced Pack Position").get_Value(0))

returns the value -2147483648? However the variable is a boolean so I would expect to see a 0 or 1.
I have had this before on other variables when the variable is not used in the program however this one is.
Any clues?
BR
Chris

This is a migrated post! Originally posted on 02.09.2014 by user cdaly2001. Please be aware that information can be outdated.