contents   index   previous   next



Clib.vsscanf()

syntax:

Clib.vsscanf(str, formatString, valist)

where:

str - string holding the data to read into variables according to formatString.

 

formatString - specifies how to read and store data in variables.

 

valist - a variable list of variables to hold data according to formatString.

 

return:

number - input fields successfully scanned, converted, and stored, else EOF.

 

description:

This method is similar to Clib.sscanf() except that it takes a variable argument list. The parameters following the format string will be assigned values according to the specifications of the format string.

 

The function returns the number of input items assigned. This number may be fewer than the number of parameters requested if there was a matching failure.

 

see:

Clib.va_arg(), Clib.sscanf()