printscan

printscan —

Synopsis

int                 do_printf                           (const char *line,
                                                         double ***pZ,
                                                         DATAINFO *pdinfo,
                                                         PRN *prn);
int                 do_sscanf                           (const char *line,
                                                         double ***pZ,
                                                         DATAINFO *pdinfo,
                                                         PRN *prn);
int                 n_scanned_items                     (void);
int                 generate_obs_markers                (const char *s,
                                                         double ***pZ,
                                                         DATAINFO *pdinfo);

Description

Details

do_printf ()

int                 do_printf                           (const char *line,
                                                         double ***pZ,
                                                         DATAINFO *pdinfo,
                                                         PRN *prn);

Implements a somewhat limited version of C's printf() for use in gretl scripts.

line : command line.
pZ : pointer to data array.
pdinfo : dataset information.
prn : printing struct.
Returns : 0 on success, non-zero on error.

do_sscanf ()

int                 do_sscanf                           (const char *line,
                                                         double ***pZ,
                                                         DATAINFO *pdinfo,
                                                         PRN *prn);

Implements a somewhat limited version of C's sscanf() for use in gretl scripts.

line : command line.
pZ : pointer to data array.
pdinfo : dataset information.
prn : printing struct.
Returns : 0 on success, non-zero on error.

n_scanned_items ()

int                 n_scanned_items                     (void);

Returns :

generate_obs_markers ()

int                 generate_obs_markers                (const char *s,
                                                         double ***pZ,
                                                         DATAINFO *pdinfo);

s :
pZ :
pdinfo :
Returns :