HP Business BASIC Programmer's Guide

HP Business BASIC Programmer's Guide

Table of Contents

 HP Business BASIC Programmer's Guide
   HP Business BASIC Programmer's Guide : COPYRIGHT NOTICE
   Introduction
   Getting Started
   Creating Your First BASIC Program
   Calculator-Mode Expressions
   BASIC Help Facility
   Editing BASIC Programs
   Entering Your Program
   Numbers and Strings
   Variables
   Numeric Variables
   String Variables
   Assigning Values to Variables
   Operators and Functions
   Operators and Expressions
   Logical or Full Evaluation vs. Partial Evaluation
   Operational Hierarchy
   Built-In Numeric Functions
   Trigonometric Statements and Functions
   Binary Functions
   Random Numbers
   Built-in String Functions
   The VAL and VAL$ Functions
   Defining a Function
   Program Control Statements
   Conditional and Unconditional Branching
   Using GOSUBS
   The GOSUB Statement
   Structured Programming
   Miscellaneous Control Statements
   Subunits
   Multiline Functions
   Subprogram Considerations
   Busy Lines
   Additional Considerations
   Data Files
   Types of Data Files
   File Control Statements
   File Input and Output
   File Management Statements
   File Functions
   Array Operations
   Declaring Arrays
   Reading and Printing Array Values
   Formatted Array Output
   Assigning Values to Arrays
   Screen and Printer I 0
   Input Statements
   Output Statements
   Output Control Functions
   Screen Formatting
   User Defined Function Keys
   Introduction
   A Simple Example
   Priorities
   Data Base Management
   BEGIN TRANSACTION Statement
   DBCLOSE Statement
   DBDELETE Statement
   DBERROR Statement
   DBEXPLAIN Statement
   DBFIND Statement
   DBGET Statement
   DBINFO Statement
   DBLOCK Statement
   DBMEMO Statement
   DBOPEN Statement
   DBPUT Statement
   DBUNLOCK Statement
   DBUPDATE Statement
   END TRANSACTION Statement
   Advanced Data Base Access Methods
   Summary
   Searching and Sorting a Data Base
   Searching
   Sorting the Data Base
   Estimating the Size of the Workfile
   Example Program
   The BASIC Report Writer
   Defining a Report
   Page Breaks
   Producing Report Output
   The DETAIL LINE Statement
   Defining the Page Layout
   Defining Break Levels
   Automatic Totaling
   Output Suppression
   Report Writer Built-in Functions
   Compiling a Report
   Hints on Reducing Code Size
   Simple Example Report
   Using Forms in BASIC
   Using VPLUS Forms
   Communication Area
   Using JOINFORM
   JOINFORM Compared With VPLUS
   Error Handling
   ON DBERROR
   OFF DBERROR
   ON ERROR Statement
   OFF ERROR Statement
   Error Functions
   WARNINGS ON and WARNINGS OFF Statements
   The HALT Key
   HALT
   Program Debugging
   Suspending Program Execution
   Tracing Program Execution
   Other Useful Commands
   Using the Compiler
   Compiling a Program
   Memory Management of Compiled Programs
   Altering Non-Compilable Statements
   Compiling Multiple BSAVE Files
   Affects of MAIN and SUBPROGRAM in the Interpreter
   Compiling Separate Subunits
   Managing Applications
   Simple Debugging of Compiled Programs
   Tracing an Error Condition
   Interactions of Compiled Subunits and the Interpreter
   COMMON in Compiled Programs
   The Affect of NEWCOM and NO NEWCOM in the Interpreter
   External Routines
   The Program Analyst
   Introduction
   The ANALYST Command
   General Notes on Using the Program Analyst
   The Main Menu Browse Screen
   The Static Analysis Screen
   The Optimize Screens
   The Extract Subunit Screens
   Using Sort-Merge 3000 from BASIC
   SORT-MERGE Procedures
   Calling BB'SORT'IT and BB'MERGE'IT From a BASIC Program
   Using the JOINFORM Editor
   Creating a New Form
   Creating a New Form from an Existing Form
   Modifying Forms
   Merging Forms
   Procedure for Copying and or Moving Forms
   Deleting Forms
   Printing and Showing Forms
   Selecting Default Enhancements and Fillers
   Accessing KSAM Files from BASIC
   File Structure
   File Access
   Creating a KSAM File
   Using KSAM Files in BASIC Programs
   Calling KSAM Procedures from a BASIC Program
   BASIC Configuration Utility
   How to Run the Configuration Utility
   Example
   ANYPARM External Call Feature
   Background for Calling Externals
   An Overview of ANYPARM
   ANYPARM Calls From BASIC
   Writing ANYPARM External Procedures
   Example Of A Simple Pascal ANYPARM Procedure
   Pascal Data Structures for ANYPARM Calls
   A Pascal ANYPARM Procedure Designed to Process Any Parameter
   Example of an ANYPARM Call
   Differences Relative to BASIC V
   Subunit Space