Daylight v4.9
Release Date: 1 February 2008


dt_mer_sortapplies - tests if a sort can be applied to a column

Generic Prototype

dt_mer_sortapplies(dt_Handle, dt_Integer) => dt_Boolean

C Prototype

#include "dt_merlin.h"

dt_Boolean dt_mer_sortapplies(dt_Handle column, dt_Integer sort)

FORTRAN Prototype

include ''

logical dt_f_mer_sortapplies(column, sort)

integer*4 column
integer*4 sort


Checks to see if the specified sort can be applied to the specified column. 'sort' is one of the valid sorts in the range of 0 to nsorts - 1 (see dt_mer_nsorts(3)).

Return Value

Returns FALSE if the sort can not be applied, or if the object is not a column object.

Related Topics

dt_mer_action2name(3) dt_mer_function2name(3) dt_mer_nactions(3) dt_mer_nfunctions(3) dt_mer_nsearches(3) dt_mer_nsimilars(3) dt_mer_nsorts(3) dt_mer_nsubselects(3) dt_mer_nsuperselects(3) dt_mer_search2name(3) dt_mer_similar2name(3) dt_mer_sort2name(3) dt_mer_subselect2name(3) dt_mer_superselect2name(3)