Programmer Guide
  

Programmer Guide
 
This manual describes the PV‑WAVE programming language in detail. PV‑WAVE uses an intuitive fourth-generation language (4GL) that analyzes and displays data as you enter commands. With it you can perform complex analysis, visualization, and application development quickly and interactively.
The topics in this guide are organized as follows:
* PV-WAVE Programming—Provides an overview of the basic elements of the command language and a brief discussion of its high-level features.
* Constants and Variables—Introduces the different types and structures of variables, constants, and predefined system variables.
* Expressions and Operators—Explains expressions, which are one or more variables or constants combined with operators. Expressions are the basic building blocks of PV‑WAVE.
* Statement Types—Describes the syntax and semantics of PV‑WAVE statements, such as FOR and WHILE loops, CASE statements, and assignments.
* Using Subscripts with Arrays—Describes how to use the wide variety of subscript types, ranges, and arrays available with PV‑WAVE.
* Working with Structures—Explains how to define and use structures.
* Working with Lists and Associative Arrays—Explains how to define and use lists and associative arrays.
* Working with Text—Discusses the system routines used for string processing and gives examples.
* Working with Data Files—Describes how to read and write formatted and unformatted data files using the traditional routines such as WRITEU, WRITEF, READU, and READF. In addition, a collection of new routines, the DC_READ_* and DC_WRITE_* functions, provide a greatly simplified alternative to other methods of reading and writing data. These routines are discussed in this chapter as well.
* Writing Procedures and Functions—Explains how to write your own PV‑WAVE functions and procedures. Topics such as error handling and parameter passing are discussed.
* Programming with PV-WAVE—Discusses routines that are useful when programming PV‑WAVE applications.
* Tips for Efficient Programming—Explains ways to optimize programs written in the PV‑WAVE language.
* Getting Session Information—Describes how to get information about the current PV‑WAVE session.
* PV-WAVE Development with Eclipse—Explains how to use the Eclipse plug-in for PV-WAVE. Eclipse is an Integrated Development Environment (IDE) that provides many useful features for editing and debugging PV-WAVE programs.
* Creating an OPI Option—Discusses how to use the Option Programming Interface (OPI) to create optional modules that can be loaded explicitly by any PV‑WAVE user.
* OpenMP—Discusses OpenMP.
* Format Strings—Discusses the format strings that you can use to transfer data to and from PV‑WAVE.
* Modifying Your Environment—Discusses methods for modifying your PV‑WAVE environment for UNIX and Windows systems.

Version 2017.1
Copyright © 2019, Rogue Wave Software, Inc. All Rights Reserved.