You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm unsure if this is a bug or deliberate twinBasic policy.
The following code Prints 'Its Nothing" in twin basic but in VBA raises an error at the if statement, the error being an object is required.
Public Sub TestNothing()
Dim myObj As Variant
myObj = Empty
If myObj Is Nothing Then
Debug.Print "Its nothing"
Else
Debug.Print "Its something"
End If
End Sub
To Reproduce
Run the presented code
Expected behavior
Its not a problem but it would be helpful to known which of the two behaviours to expect as standard in twinBasic.
Desktop (please complete the following information):
OS: Windows 11
twinBASIC compiler version Beta Ide 62
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm unsure if this is a bug or deliberate twinBasic policy.
The following code Prints 'Its Nothing" in twin basic but in VBA raises an error at the if statement, the error being an object is required.
To Reproduce
Run the presented code
Expected behavior
Its not a problem but it would be helpful to known which of the two behaviours to expect as standard in twinBasic.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: