[Solved] Can I declare a variable to a same variable? [closed]
Your syntax is valid. You’re setting the value of Y equal to itself plus 1. There is also the += operand that does the same exact thing: Dim Y As Integer = 0 Y += 1 ‘ Y now equals 1 Example: Live Demo 5 solved Can I declare a variable to a same variable? … Read more