I have homework that constitudes of creating a loop in Visual Basic (The course is about the 2010 version, however, I've also tested with 2013 and 6.0), that prints (Using the print command) "Loop" 10 times, in a for loop. Pretty simple stuff.
However, I can't get the "print" command to work in Visual Basic 2010/2013. Works fine in VB6. Does the command not exist in newer versions?
The relevant chunk of code is literally:
Print "test"
VB 2010/2013 adds brackets around "test" and refuses to run it, saying "test" cannot be cast to integer (Saying print is about printing to files, not forms)
VB6 Exectues it fine.
Also, relevant, do control arrays exist in VB10/VB13? My understanding is they were removed, however the second way to do it (In case you don't want to use print) is using a control array.