@@ -171,7 +171,7 @@ Private P_DEGREES As Boolean
171171Private P_ERRORDESC As String
172172Private P_ERRTYPE As ExpressionErrors
173173Private P_EXPRESSION As String
174- Private P_FORCE_BOOLEAN As Boolean
174+ Private P_ENFORCE_BOOLEAN As Boolean
175175Private P_FORMATRESULT As Boolean
176176Private P_GALLOPING_MODE As Boolean
177177Private P_RESULT As Variant
@@ -323,7 +323,7 @@ Private Sub Class_Initialize()
323323 FunctionsId() = Split(BuildinFunctIDList, ";" )
324324 FunctionsName() = Split(BuildinFunctNameList, ";" )
325325 Set P_SCOPE = New VBAexpressionsScope
326- P_FORCE_BOOLEAN = False
326+ P_ENFORCE_BOOLEAN = False
327327 InitCBbuffer UserDefFunctions
328328 '@--------------------------------------------------------------------
329329 ' Populate linked index constructor
@@ -411,16 +411,16 @@ Public Property Get expression() As String
411411 expression = P_EXPRESSION
412412End Property
413413
414- Public Property Get ForceBoolean () As Boolean
415- ForceBoolean = P_FORCE_BOOLEAN
414+ Public Property Get EnforceBoolean () As Boolean
415+ EnforceBoolean = P_ENFORCE_BOOLEAN
416416End Property
417417
418418''' <summary>
419419''' When True, a False is returned on evaluation errors.
420420''' This can be useful when evaluating piecewise functions.
421421''' </summary>
422- Public Property Let ForceBoolean (aValue As Boolean )
423- P_FORCE_BOOLEAN = aValue
422+ Public Property Let EnforceBoolean (aValue As Boolean )
423+ P_ENFORCE_BOOLEAN = aValue
424424End Property
425425
426426''' <summary>
@@ -1583,7 +1583,7 @@ Private Sub BottomLevelEval(ByRef aToken As token)
15831583 End If
15841584 Exit Sub
15851585BLevelEval_errHanlder:
1586- If Not P_FORCE_BOOLEAN Then
1586+ If Not P_ENFORCE_BOOLEAN Then
15871587 aToken.EvalResult = e_ValueError
15881588 Else
15891589 aToken.EvalResult = False
@@ -2856,7 +2856,7 @@ Private Function EvalFunction(ByRef Argument As String, ByRef FunctionName As St
28562856 End If
28572857 Exit Function
28582858EvalFunction_errHandler:
2859- If Not P_FORCE_BOOLEAN Then
2859+ If Not P_ENFORCE_BOOLEAN Then
28602860 EvalFunction = e_ValueError
28612861 Else
28622862 EvalFunction = False
0 commit comments