How can I convert a string into a condition?
For example, I accept a condition from the user as a string. I then apply this condition.
ie.
Dim strCondition = "3 < 4"
If (CType(strCondition, Object) = True) Then
' Perform some actions
End If
Of course this doesn't work, but where am I going wrong?
Thanx
For example, I accept a condition from the user as a string. I then apply this condition.
ie.
Dim strCondition = "3 < 4"
If (CType(strCondition, Object) = True) Then
' Perform some actions
End If
Of course this doesn't work, but where am I going wrong?
Thanx