Get

GetNewD

Create a Get for a date variable

Syntax

Signature
Get *GetNewD( int row, int col, int *value, const char *name, const GetOpts *opts );

Arguments

row, col the terminal position of the field; NIL uses the cursor position.

value points to the date variable.

name the name of the variable, or NULL for "".

opts points to a GetOpts structure, or NULL for defaults.

Return value

The new Get object, or NULL when value is NULL. Release it with GetFree().

Description

The field follows Set( _SET_DATEFORMAT ); `@E` swaps the day and the month.

See also