SRGraph::SubString
intSRGraph::SubString(LPCTSTRtext, CString §ion, DWORD *index, double *number)
Reads a string from a tab delimited text input and returns data and analysis of the type of data via the pointers supplied
Defined in: SRGraph.cpp
Return Value
The return codes are ...
ALL	A text string has been read.
EMPTY	A tab character was found without preceeding text.
SUBEND	A carriage return or carriage return/linefeed pair was read.
END	The end of text ('\\0') mark was found.
NUMERIC	A number was successfully converted from the text string.
Parameters
text
Pointer to the text being scanned
section
Reference to a CString object which will store the actual text found (if any)
index
Pointer to the offset index into the data referenced by parameter 1
NOTE: Do not alter this index except to zero it at the beginning of a parsing run.
number
Pointer to a double used to store the number resulting from scanning the text