• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Need serious help with VB2010 assignment

Kreij

Senior Monkey Moderator
Joined
Feb 6, 2007
Messages
13,817 (2.20/day)
Location
Cheeseland (Wisconsin, USA)
GAH ! GOTO statements should have died a swift death 20 years ago.
 
Joined
Oct 20, 2009
Messages
2,873 (0.54/day)
Location
Corpus Christi, Texas
System Name FumoffuFumoffu
Processor Intel i7 4770K
Motherboard Gigabyte Z87X -UD3H
Cooling Corsair H100i
Memory 16GB DDR3 1600 Crucial Ballistix
Video Card(s) Sapphire AMD Radeon HD 7970 OC
Storage 1- WD 500GB 1- Samsung F2 1.5TB 1- Crucial M4 128GB SSD 1-256GB ADATA XPG SX900 ASX900S3 SSD
Display(s) Hanns-G HZ281HPB 27.5'' 3ms Full HD 1920x1200 WideScreen LCD Monitor
Case Corsair Graphite Series 600T
Audio Device(s) Creative Soundblaster X-Fi Titanium
Power Supply Corsair HX 750W Gold
Software Windows 7 Pro x64
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.
 
Top