also @ TechSpot: Lenovo sees huge increase in PC sales as rest of industry declines

Which BASIC programming language to use??

Discussion in 'Software Apps' started by RustyZip, Feb 13, 2003.

  1. RustyZip TechSpot Paladin Posts: 415

    Hi All...

    At work, i've got to write a complicated quotation program.
    The catch is that i've already written it - on a Apple II many years ago in BASIC...

    Now ive got to do it all over again for the PC...
    But i don't know which BASIC program to use - Ive only heard of Visual BASIC - any others out there...

    If anyone can remember far back, i'd like it as similar as APPLE II Basic which is almost identical to the Sinclair Spectrum's Basic..

    Like:-
    100 ?"Hello"
    110 Input a$
    120 If a$="goodbye" then gosub 500
    etc etc...

    I know i could use emulators, but i'd rather not in this case...

    Anyone help me??
  2. Rick TechSpot Staff Posts: 6,252   +38

    Visual Basic is a windows-only language. QBASIC/GWBASIC etc.. is DOS.

    The difference being Visual Basic gives you the opportunity to use BASIC language inside of windows and forms so you can interact within the Widnows enviroment..

    QBASIC, for example, is command-prompt only.. Which means no Window interface.

    There may be some difference between Apple's Basic and MS's basic though.

    100 ?"Hello" for example, would probably be 100 PRINT "Hello".. If I remember correctly.
  3. RustyZip TechSpot Paladin Posts: 415

    Cheers Rick...

    Guess i never really thought about that - Yes, if its going to be similar then IT has to be in DOS (command prompt)...

    So QBASIC and GWBASIC are the only two that you've heard of??
  4. conradguerrero Newcomer, in training Posts: 357

    quick basic is easy to program.

    I would say to use a more up to date language like java, which has either command line or gui.
  5. Nodsu Newcomer, in training Posts: 9,431

  6. Rick TechSpot Staff Posts: 6,252   +38

    Latter versions of qbasic do have the feature to compile executables.

    GW does not.