problem.getcoltype
problem.getcoltype |
Purpose
Returns the column types for the columns in a given range.
Synopsis
problem.getcoltype (coltype, first, last)
Arguments
|
coltype
|
Character array of length
last-first+1 where the column types will be returned:
|
||||||||||||
|
first
|
First column in the range.
|
||||||||||||
|
last
|
Last column in the range.
|
Example
This example finds the types for all columns in the matrix and prints them:
coltype = []
p.getcoltype (coltype, 0, p.attributes.cols - 1)
print ("coltypes:", coltype)
Related topics
