Dear Reader,
This may seem like a pointless question but it's pure curiosity. I'm going over some tutorials on basic stuff like using Form_Load () to simply Print "Hello World" onto a Form. The code I stumbled upon is this,
The code by itself does not work. Originally because it doesn't have anything after Sub, an identifier I believe it's called. Also, the quotations are unnecessary. The only one that is necessary to have a quotation is to because it's an ambiguous term. Overall the code doesn't work. So I'm trying to change it into something that DOES work. Here's what I came up with:Code:Private Sub
A = Tom
B = "likes"
C = "to"
D = "eat"
E = "burgers"
Print A+B+C+D+E
End Sub
However that doesn't work either. I triedCode:Private Sub Form_Load ()
A = Tom
B = likes
C = eating
D = burgers
Print A + B + C + D
End Sub
But that doesn't work either. Obviously, I Dim'd B..C..D also. I would like to know what I am doing wrong, why it's the way it should be (like what makes it correct), and what it should be.Code:Dim A As String
Again, this is for learning purposes only because I'm curious about Visual Basic 6 immensely.
Thank you for taking the time to read this message.

