This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Microsoft PowerPoint - OPVB2 .ppt—Alan Cooper
http://www.cooper.com/alan/father_of_vb.html
• =>VB2.0=>VB3.0=>VB4.0=>VB5.0 =>VB6.0(OOP)
=>VB.net()
3
VB
6
100 PRINT "Program starting“ 110 INPUT H, W 130 IF H > 40 GOTO
400 140 PRINT "Paycheck is ";H*W;" with no overtime." 150 GOTO 500
400 V = H - 40 405 H = H - 40 410 PRINT "Paycheck is
";V*(W*1.5)+H*W;" with "; 420 PRINT V;" hours overtime." 500 PRINT
"Program done!" 510 END
BASIC
7
(object)
• ( PROPERTY ) : ( )
?
• ?
• ?
: ()
9
……