Appendix A. CRBasic Programming Instructions
Syntax
AddPrecise(PrecisionVariable, X)
AvgRun
Stores a running average of a measurement.
Syntax
AvgRun(Dest, Reps, Source, Number)
Note AvgRun() should not be inserted within a For / Next construct with the
Source and Dest parameters indexed and Reps set to 1. In essence, doing so will
perform a single running average, using the values of the different elements of the
array, instead of performing an independent running average on each element of
the array. The results will be a running average of a spatial average on the various
source array elements.
Randomize
Initializes the random-number generator.
Syntax
Randomize(source)
RND
Generates a random number.
Syntax
RND(source)
TotalRun
Outputs a running total of a measurement.
Syntax
TotalRun(Dest, Reps, Source, Number, RunReset)
A.7.10.1 Histograms
Histogram
Processes input data as either a standard histogram (frequency distribution) or a
weighted-value histogram.
Syntax
Histogram(BinSelect, DataType, DisableVar, Bins, Form, WtVal,
LoLim, UpLim)
Histogram4D
Processes input data as either a standard histogram (frequency distribution) or a
weighted-value histogram of up to four dimensions.
573