DataObject.GetVarValueOrderFlags

Prototypes

int GetVarValueOrderFlags( String sVarName )

Return Value

The return value is an integer containing the custom ordering flags for the specified variable in the DataObject.

Parameters

String sVarName
The name of the variable whose custom ordering flags you want to retrieve.

Remarks

This method returns the custom ordering flags for a variable. For information about the custom ordering flags and custom ordering in general, see DataObject.SetVarValueOrder.

Example
declare DataObject dobj;
x = { "Low", "Medium", "Medium", "High", "High", "High" };
dobj = DataObject.Create( "Example", "X", x );
values = { "Low", "Medium", "High" };
dobj.SetVarValueOrder( "X", values );
BarChart.Create( dobj, "X" );
declare int flags;
flags = dobj.GetVarValueOrderFlags( "X" );
if (flags & VVO_CASESENSITIVE) != 0 then
    print "Custom ordering for variable X is case-sensitive";
else
    print "Custom ordering for variable X is case-insensitive";
See Also

DataObject.DeleteVarValueOrder
DataObject.EnableVarValueOrder
DataObject.IsVarValueOrderEnabled
DataObject.ModifyVarValueOrderFlags
DataObject.SetVarValueOrder