YES! BASIC can be OOP. Originally, BASIC was seriously flawed as one
could just write anything one wanted without regard to format or structure.
Recently, the Microsoft (and a few others) modified BASIC in such a way so
that one would be "coaxed" into an OOP format -- thus the QuickBasic
Compliers were born. I can attest to this from personal experience.
Subroutines in QuickBasic become what are called modules, where a program
is actually a collection of modules held together with a central program.
Many books on advanced QuickBasic programming exist which allow one to
setup 'pop-up' windows and make your program easier on the eye and the
end-user. However, when BASIC (through Quickbasic) was going through this
evolution, C came along and I know of a number of BASIC programmers who
jumped ship. By the time BASIC became OOP, C had grabbed a good portion
of the programmers. I never did switch as I have too dog-gone much stuff
(both Science and non-science) in BASIC and would be too 'costly' to
switch. BTW - regular BASIC programs will operate in the QuickBasic
environment. I should take some of this back - like the word
"recently".... now that I think about it, the last version of QuickBAsic to
come about was around 1987 if I'm not mistaken...
To answer your question, Yes, BAsic can be OOP through the QuickBasic Compiler.
Easily obtained at your local discount Software store, PC-MAG, Egghead...
Disclaimer: I'm not employed by any software house or Microsoft, especially
Microsoft since they are in Seattle...
+ David L. Haviland, Ph.D. Internet:"haviland at kids.wustl.edu" +
+ Washington Univ. School of Med. A.K.A : The Compiler +
+ Dept. of Peds./Pulm. Box 8116 ICBM-Net : Just hit St. Louis +
+ 400 S. Kingshighway &-6 <- User is Brain Dead... +
+ St. Louis, MO 63110 FAX: 314-454-2476 +
+ (314) 454-6076 +
+ "...just because you know how to win an election doesn't mean you +
+ know how to run the country..." - Robbie Sinclair, from the +
+ TV show 'Dinosaurs' +