String to Data Variable Conversion

  #include <vv_bool.h>

#include <vv_char.h>

#include <vv_check.h>

#include <vv_date.h>

#include <vv_dec.h>

#include <vv_doubl.h>

#include <vv_int.h>

#include <vv_lbox.h>

#include <vv_long.h>

#include <vv_radio.h>

#include <vv_short.h>

#include <vv_singl.h>

#include <vv_str.h>

#include <vv_time.h>

dc_tobool ( )

dc_toch ( )

dc_tocheck ( )

dc_todate ( )

dc_todec ( )

dc_todouble ( )

dc_toint ( )

dc_tolbox ( )

dc_tolong ( )

dc_toradio ( )

dc_toshort ( )

dc_tosingle ( )

dc_tost ( )

dc_totime ( )

   
int dc_tobool (UCHAR *stp, UCHAR *datap, DFIELDPTR dfldp, UCHAR bufp)

Converts a string in a field to a Boolean variable

int dc_toch (UCHAR *stp, UCHAR *datap, DFIELDPTR dfldp, UCHAR *cvbufp)

Converts a string in a field to a character variable

int dc_tocheck (UCHAR *stp, UCHAR *datap, DFIELDPTR dfldp, UCHAR *cvbufp)

Converts a string in a check box to a character variable

int dc_todate (UCHAR *stp, UCHAR *datap, DFIELDPTR dfldp, UCHAR *cvbufp)

Formats a string in a field and places it in a date data variable

int dc_todec (UCHAR *stp, long *datap, DFIELDPTR dfldp, UCHAR *cvbufp)

Converts a decimal string in a field to a long integer variable

int dc_todouble (UCHAR *stp, double *datap, DFIELDPTR dfldp, UCHAR *cvbufp)

Converts a string in a field to a double-precision floating point variable

int dc_toint (UCHAR *stp, int *datap, DFIELDPTR dfldp, UCHAR *cvbufp)

Converts a string in a field to an integer variable

int dc_tolbox (UCHAR *stp, UCHAR *datap, DFIELDPTR dfldp, UCHAR *cvbufp)

Copies highlighted list box selection to the underlying data variable

int dc_tolong (UCHAR *stp, long *datap, int DFIELDPTR dfldp, UCHAR *cvbufp)

Converts a string in a field to a long integer variable

int dc_toradio (UCHAR *stp, int *datap, DFIELDPTR dfldp, DFORMPTR dfmp)

Converts a string in a field to a radio button variable

int dc_toshort (UCHAR *stp, short *datap, DFIELDPTR dfldp, UCHAR *cvbufp)

Converts a string in a field to a short integer variable

int dc_tosingle (UCHAR *stp, float *datap, DFIELDPTR fldp, UCHAR *cvbufp)

Converts a string in a field to a single-precision floating point variable

int dc_tost (UCHAR *stp, UCHAR *datap, DFIELDPTR dfldp, UCHAR *cvbufp)

Formats a string in a field according to the field options and places it in a string data variable

int dc_totime (UCHAR *stp, UCHAR *datap, DFIELDPTR dfldp, UCHAR *cvbufp)

Formats a string in a field and places it in a time data variable


Home Contents Previous Next