@@ -275,10 +275,10 @@ Private Sub Class_Initialize()
275275 '@--------------------------------------------------------------------
276276 ' Populate building UDFs
277277 Dim UDFnames() As Variant
278- UDFnames() = Array("GCD" , "DET" )
279- DeclareUDF UDFnames, "UserDefFunctions" 'Declare the Greatest Common Divisor and matrix Determinant functions
280- 'defined in the UDfunctions class module. This need
281- 'an instance in the VBAcallBack class module.
278+ UDFnames() = Array("GCD" , "DET" , "Concat" )
279+ DeclareUDF UDFnames, "UserDefFunctions" 'Declare the Greatest Common Divisor, matrix Determinant and
280+ 'the string concatenation functions defined in the UDfunctions
281+ 'class module. This needan instance in the VBAcallBack class module.
282282 '@--------------------------------------------------------------------
283283 ' Initialize error messages
284284 InitializeErrHandler
@@ -1955,7 +1955,7 @@ Private Function GetTokenInfo(ByRef expression As String) As TokenInfo
19551955 If tmpResult.Position = -1 Then 'Missing arithmetic opetarators.
19561956 If expression Like "*[=<>&|$]*" Then 'Try with logical operators.
19571957 tmpResult = GetLCOpInfo(expression)
1958- tmpResult.LogicalToken = True
1958+ tmpResult.LogicalToken = Not expression Like "'*[=<>&|$]*'"
19591959 Else
19601960 tmpResult.Position = -1
19611961 If expression Like "*[Tt][Rr][Uu][Ee]" Then
0 commit comments