<div dir="ltr"><div>If I have the following code <br></div><div> - - - - -<br>' Gambas class file<br>Public Value1 As Integer<br>Public Value2 As Integer<br><br>Public Function ProcessIt() As Boolean<br> Value2 = Value1 * 2<br> Return True<br>Catch <br> Return False<br>End<br> - - - - -<br> ' Gambas module file<br>Public Sub Main()<br> Dim class1 As Class1<br> Dim CalcValue As Integer<br> class1 = New Class1<br> class1.Value1 = 3<br> If class1.ProcessIt() Then<br>  CalcValue = class1.Value2<br>  Print CalcValue<br> Else<br>  Print "An error Occurred"<br> Endif<br>End<br> - - - - <br>it runs and works as I expect but if if I try to look at the class1 values I get <br>'class1.Value1' is not static<br>What am I not understanding?<br></div></div>