Functions and Control Flow Functions in Explain™ are very similar to functions in C or Pascal. As in most modern functional languages, each function has a name, an argument list,… read more →
Data Types Explain™ has fundamental data types which describe simple values. It also has more complicated data types such as VECTORS and CLASSES which are described elsewhere. Explain has the… read more →
All Gamry Instruments experimental techniques are implemented as user-accessible scripts. A script is a specialized computer program used to define and control the sequence of events during an experiment. The… read more →
Classes and Objects A most useful feature of Explain™ is its implementation of classes. An Explain class is a complex data type. The class describes how the data are stored,… read more →
The following code is typical of a customized script. It is shown here so that you can get a feel for the overall structure and syntax of a script. If… read more →
A Short Aside about Data Types Experienced programmers may be wondering about the variables V1 and Temp, used in the Functions and Control Flow Section. What data type are they?… read more →
Assignments In programming terminology, an assignment is a statement that attaches a value to a variable. Assignments use the common syntax: Temp = “abc” In Explain™, an assignment transfers both… read more →
Class Functions and Instance Functions Class Functions (cfunction) A class function is a function that is applied to the class definition itself. It is most often used to create an… read more →
Running a Master Script NOTE: With the advent of the Sequence Wizard, creating auto scripts is unnecessary. We include the discussion pages concerning auto scripts for the sake of completeness, and… read more →