Cgen.SprintPoint()

Cgen.SprintPoint()

Type: CLASS FUNCTION

Purpose: Used in output of data from a CGEN object.

A data point from the object is printed to an ASCII string. This string can in turn be printed to the active output file.

The format of the data string is:

PointNumber <tab> Data0 <tab> Data1 <tab> Data2 <tab> Data3

You can use this function along with the Printl() function to output point i to the output file as follows:

Printl(“t”,Cgen.SprintPoint(i))

Usage: Result = Cgen.SprintPoint(PointNumber)

  Result STRING The output string
  PointNumber INDEX

The point to be printed.

PointNumber is zero-based. If the requested point has not been taken, a parameter error is issued.

Related Topics Link IconRelated Topics