Description
See Also
“Color Cells” in the Scripting Guide
Description
See Also
“Color Cells” in the Scripting Guide
Copies all row state values currently used in the data table to a column.
Copies all row state values in the column to the currently used row state in the data table.
Description
Required Argument
type
Specifies the "Numeric", "Character", "Row State", or "Expression" data type.
Optional Arguments
Format(format quoted string)
Specifies the way the data are displayed, such as h:m for hours and minutes. The format quoted string argument is quoted.
Input Format(format quoted string)
Specifies the way the data are input. The format quoted string argument is quoted.
width
(Optional for numeric data) Specifies 1, 2, or 4 (the number of bytes in the column).
Description
Arguments
See “Numeric Formats” in Using JMP for more information about the arguments.
Examples
col<<Format( 10, 2, "Use thousands separator");
col<<Format( "Currency", "EUR", 20 );
col<<Format( "m/d/y", 10 );
col<<Format( "Precision", 10, 2, "Keep trailing zeroes", "Keep all whole digits" );
col<<Format( "Latitude DDD", "PUNDIR"); // "PUN" for punctuation, "DIR" for direction, PUNDIR for both
col<<Format( "Custom", Formula( Abs( value ) ), 15 );
See Also
Returns the list check definition. If list check is not defined for the column, a message is sent to the log stating so.
Returns the specified property definition. If the specified property is not defined for the column, a message is sent to the log stating so.
Returns the range check definition. If range check is not defined for the column, a message is sent to the log stating so.
Returns the value labels definition. If value labels is not defined for the column, a message is sent to the log stating so.
Returns the values in the column.
Sets the quoted format used for input and storage for the column. The argument is the name of any JMP format (for example, "ddmmyyyy" for a date column).
Returns true if the data in the resulting SAS data set for the date column will be changed when it is exported to SAS.
Sets the column display width to the n in pixels. If n is set to zero, the column display width automatically resizes.
Sets all the values in the column to n.
Sets the field width for the column to n.
Examples
The following example adds the Value Colors column property to the sex column, with pink for females and blue for males.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Column( "sex" ) << Set Property( "Value Colors", {"F" = 78, "M" = 69} );
The following example adds a custom column property named Date recorded to the height column.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Column( "height" ) << Set Property( "Date recorded", 05Jan1990 );
See Also
“Set or Get Column Properties” in the Scripting Guide
“Set JMP Column Properties” in Using JMP
Sets the column to be selected or not selected.