sancarn / stdVBA

VBA Standard Library - A Collection of libraries to form a common standard layer for modern VBA applications.
MIT License
295 stars 60 forks source link

stdLambda - issue with parsing expressions? #92

Closed sancarn closed 8 months ago

sancarn commented 8 months ago
Dim s As String: s = ""
s = s & "if $1.Picture = ""cry"" then 1 end" & vbCrLf
Dim x As stdLambda: Set x = stdLambda.Create(s)

This fails but this succeeds:

Dim s As String: s = ""
s = s & "$1.Picture = ""cry""" & vbCrLf
Dim x As stdLambda: Set x = stdLambda.Create(s)

Not sure why