Cgen.DataValue()

<< Click to Display Table of Contents >>

Navigation:  Explain™ Control Language  > Library Routines > Curve classes > class CGEN >

Cgen.DataValue()

Description

Extract a single data item from a Cgen object.

 

The data item is taken from the ith data point and the jth data column. If no datum is taken, the returned value is NIL.

 

Type

INSTANCE FUNCTION

 

Usage

Result = Cgen.DataValue(PointNum, ColNumber)

 

PointNum

INDEX

Point number, zero-based. If PointNum is out of range, a value from the last or acquired point is returned.

NIL

Always return a value from the last acquired point.

ColNumber

NIL

Data column, with a range of 0 to 3. The meaning of the data in each column is under user-control.

Result

REAL

The returned value.

NIL

No data acquired yet.