home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 21293 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  1.7 KB

  1. Path: sparky!uunet!usc!howland.reston.ans.net!spool.mu.edu!agate!ames!network.ucsd.edu!ucsbcsl!engrhub.ucsb.edu
  2. From: aksguest@engrhub.ucsb.edu (Leonard Cuff)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Porting Visual Basic to QuickBasic SUMMARY
  5. Message-ID: <7330@ucsbcsl.ucsb.edu>
  6. Date: 12 Jan 93 16:46:42 GMT
  7. Sender: root@ucsbcsl.ucsb.edu
  8. Organization: University of California, Santa Barbara
  9. Lines: 28
  10.  
  11. I received only one reply to my query about the difference between
  12. Visual Basic and QuickBasic.  Here it is (Thanks Ralph):
  13.  
  14. The underlying language of Visual Basic is very similar to QuickBASIC,
  15. since, as you say, they are both Microsoft products. That's where the
  16. similarity ends, though. A Visual Basic application consists of forms
  17. and controls, each of which may have some BASIC-like code attached to
  18. it. A QuickBASIC program, on the other hand, is simply a textual
  19. listing of code.
  20.  
  21. To port from Visual Basic to Macintosh QuickBASIC, you'll have to
  22. write QB code to produce the forms (windows) and controls (buttons,
  23. edit fields, etc) by hand. This is rather tedious compared to the
  24. Visual BASIC approach!
  25.  
  26. An alternative may be to port from Visual Basic to HyperCard. The
  27. underlying language of HyperCard (HyperTalk) is not quite the same
  28. as BASIC, but is easy to learn anyway. The advantage of this approach
  29. is that you program HyperCard in almost the same way as Visual
  30. Basic: you interactively "draw" buttons, text fields, etc on cards,
  31. and then attach code ("scripts") to these objects.
  32.  
  33. In fact, Visual Basic is nothing more than HyperCard using a
  34. different underlying language and a compiled, rather than interpreted
  35. environment. Apple came out with HyperCard 5 years ago!
  36.  
  37.  
  38. (from Ralph Gonzales)
  39.