• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.
  • The forums have been upgraded with support for dark mode. By default it will follow the setting on your system/browser. You may override it by scrolling to the end of the page and clicking the gears icon.

Need serious help with VB2010 assignment

GAH ! GOTO statements should have died a swift death 20 years ago.
 
GAH ! GOTO statements should have died a swift death 20 years ago.

Well, one of the things I had attempted that I kind of forgot how to do was use Subs and Case statements. I could call a subroutine but the variables from the Sub failed to work in the main program so I just used the GOTO command since it just works. Especially if you write a program with Line numbers like we used to do back in GWBASIC and BASICA days. If I wanted to make it even more complicated, I could have made a simple number based menu. If I wanted to add graphics, I could have done so as well. But since I was focusing on the Calculation side, I left it at that. ^_^ I have created GUIs in QBasic that used the mouse to navigate.
 
Back
Top