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

Need serious help with VB2010 assignment

Discussion in 'Programming & Webmastering' started by Killer_Rubber_Ducky, Jul 12, 2013.

  1. Kreij

    Kreij Senior Monkey Moderator Staff Member

    Joined:
    Feb 6, 2007
    Messages:
    13,881 (3.86/day)
    Thanks Received:
    5,632
    Location:
    Cheeseland (Wisconsin, USA)
    GAH ! GOTO statements should have died a swift death 20 years ago.
     
  2. Killer_Rubber_Ducky

    Killer_Rubber_Ducky

    Joined:
    Oct 20, 2009
    Messages:
    2,778 (1.07/day)
    Thanks Received:
    308
    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.
     

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)