Introduction: Visual BASIC 6.0
Publisher: Bookboon.com
Published: 2013
Table of contents: title: Content; title: 1. Introduction; title: 2. Getting Started; title: 2.1. Procedure For Starting; title: 2.2. Printing the Program; title: 2.3. Saving the Program; title: 2.4. Reloading a Program; title: 2.5. Exiting BASIC; title: 2.6. Loading .txt Files; title: 3. Screen Output; title: 3.1. Programming Practices and Conventions; title: 3.2. The REM Statement; title: 3.3. The CLS Command; title: 3.4. The Print Command; title: 3.5. Print with a Semicolon; title: 3.6. Print with a Comma; title: 3.7. On Your Own; title: 3.8. On Your Own; title: 3.9. Positioning Output on the Screen; title: 3.10. Summary; title: 3.11. Putting It All Together; title: 4. Input Values and Output Displays; title: 4.1. Data Type Values; title: 4.2. Variables; title: 4.3. Assignment Statements; title: 4.4. Dialog Boxes; title: 4.5. Displaying Values; title: 4.6. Numeric Values As Input; title: 4.7. Creating Output Menus; title: 4.8. Putting It All Together; title: 5. Numeric Calculations; title: 5.1. Operations, Functions and Expressions; title: 5.2. Operation Hierarchy; title: 5.3. Subexpressions; title: 5.4. Built In Functions; title: 5.5. Concatenation; title: 5.6. Formatting Output; title: 5.7. Putting It All Together; title: 6. Decision Making; title: 6.1. Simple Comparisons; title: 6.2. Numeric Comparisons; title: 6.3. Strings; title: 6.4. Character Representation; title: 6.5. Dictionary Ordering; title: 6.6. String Comparisons; title: 6.7. Conditional Statements; title: 6.8. Simple If Blocks; title: 6.9. The Else Option; title: 6.10. Compound Conditional If Blocks; title: 6.11. Multi-case If Blocks; title: 6.12. Putting It All Together; title: 7. Branching; title: 7.1. Line Labels; title: 7.2. Unconditional Branching; title: 7.3. Repetition of Code; title: 7.4. Conditional Branching; title: 7.5. Repetition a Number of Times; title: 7.6. Sentinels; title: 7.7. Prompt and Echo; title: 7.8. User Interrogation Technique; title: 7.9. Putting It All Together; title: 8. For .. Next Loops; title: 8.1. The For .. Next Loop; title: 8.2. The Step Parameter; title: 8.3. Program Applications; title: 8.4. Generalized Functionality; title: 8.5. Nested Loops; title: 8.6. Putting It All Together; title: 9. Random Numbers; title: 9.1. The Rnd Function; title: 9.2. Using Randomize; title: 9.3. Coin Tossing; title: 9.4. Tossing a Biased Coin; title: 9.5. Die Rolling; title: 9.6. Scaling the Rnd Function; title: 9.7. A Simulation; title: 9.8. Putting It All Together; title: 10. Graphics; title: 10.1. Resolution and Color; title: 10.2. Coloring Pixels; title: 10.3. Drawing Lines; title: 10.4. Using the PSet Command; title: 10.5. Using the Line Command; title: 10.6. Drawing Rectangles; title: 10.7. Drawing Circles; title: 10.8. Drawing Arcs; title: 10.9. Drawing Sectors; title: 10.10. Drawing Ellipses; title: 10.11. Fill Styles; title: 10.12. A Pie Chart; title: 10.13. Histograms; title: 10.14. Putting It All Together; title: 11. Arrays and Tables; title: 11.1. Defining an Array; title: 11.2. The Syntax of Defining Arrays; title: 11.3. Assigning and Using Values in an Array; title: 11.4. Finding the Average and the Standard Deviation; title: 11.5. File Input; title: 11.6. Using Arrays – Searching an Array; title: 11.7. Using Arrays – Finding a Smallest Element in an Array; title: 11.8. Using Arrays – Interchanging Two Elements in an Array; title: 11.9. Using Arrays – Sorting an Array; title: 11.10. Using Arrays – Finding a Distribution of Elements; title: 11.11. Using Arrays – Parallel Arrays; title: 11.12. Using Arrays – Drawing A Pie Chart; title: 11.13. Using Arrays – Drawing a Histogram; title: 11.14. Putting It All Together; title: 12. Index; title: 13. Endnotes