@@ -341,8 +341,8 @@ Private Sub Class_Initialize()
341341 InitCBbuffer UserDefFunctions
342342 ' @--------------------------------------------------------------------
343343 ' Populate linked index constructor
344- LIndexConstruc(0) = d_lCurly
345- LIndexConstruc(2) = d_rCurly
344+ LIndexConstruc(0) = d_lSquareB
345+ LIndexConstruc(2) = d_rSquareB
346346 ' @--------------------------------------------------------------------
347347 ' Populate building UDFs
348348 Dim UDFnames() As Variant
@@ -4019,8 +4019,11 @@ Private Function GetFunctionName(ByRef expression As String) As String
40194019 If GFNbool Then
40204020 GetFunctionName = UserDefFunctions.Storage(i).aName
40214021 Else
4022- If expression Like " [A-Zaz]*{*}" Then ' Not defined function bypass
4023- tmpPos = strVBA.InStrB(1, expression, d_lCurly)
4022+ ExpCopy = Replace(Replace( _
4023+ expression,d_lSquareB,d_lCurly,1), _
4024+ d_rSquareB,d_rCurly,1) ' Bypass LO Basic LIKE OP limitation
4025+ If (ExpCopy Like " [A-Zaz]*{*}" ) Then ' Not defined function bypass
4026+ tmpPos = strVBA.InStrB(1, expression, d_lSquareB)
40244027 GetFunctionName = strVBA.MidB(expression, 1, tmpPos - 1)
40254028 End If
40264029 End If
@@ -4031,9 +4034,9 @@ Private Function GetIndex(ByRef SubstStr As String) As Long
40314034 Dim InitPos As Long
40324035 Dim EndPos As Long
40334036
4034- InitPos = strVBA.InStrB(1, SubstStr, d_lCurly )
4037+ InitPos = strVBA.InStrB(1, SubstStr, d_lSquareB )
40354038 If InitPos Then
4036- EndPos = strVBA.InStrB(1, SubstStr, d_rCurly )
4039+ EndPos = strVBA.InStrB(1, SubstStr, d_rSquareB )
40374040 If EndPos Then
40384041 GetIndex = strVBA.MidB(SubstStr, InitPos + 2, EndPos - InitPos - 2)
40394042 Else
@@ -4563,7 +4566,7 @@ End Function
45634566
45644567''' < summary>
45654568''' Returns an array with all the sub expressions needed to
4566- ''' evaluate the given expression. A string such as {0}
4569+ ''' evaluate the given expression. A string such as [0]
45674570''' indicates that the current token should be evaluated using
45684571''' the value or token residing at index 0 using functions
45694572''' and arithmetic operators.
0 commit comments