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