Appendix C: mvBASIC Program Examples

This appendix provides diverse examples of actual mvBASIC programs in order to show a variety of programming techniques. Although programming styles can be very diverse and personal, the guidelines in this appendix provide a loose set of principles which may help to maximize program efficiency and standardize some elements of complex projects.

The following topics are presented in this section:

General Coding Techniques

Example 1: Triples

Example 2: Guess

Example 3: INV-INQ

Example 4: Format

Example 5: Lot-update

Example 6: Communications

Program

See Also

mvBase mvBASIC User Reference Guide Overview

Syntax Notations

Introduction to mvBASIC

Creating mvBASIC Programs

Format, Data and Expressions

Overview of mvBASIC Statements and Functions

Using the mvBASIC Debugger

Statement and Function Reference

O/S Interoperability Commands

Appendix A: Error Messages

Appendix B: List Of ASCII Codes