|Bookshelf Home | Contents | Index | PDF|
This method reads input from the standard input stream (the keyboard unless some other file has been redirected as stdin by the Clib.freopen() function) and stores the data read in the variables provided as parameters following formatString. The data is stored according to the character combinations in formatString which indicate how the input data is to be read and stored.
This method is identical to calling fscanf() with
The formatString value specifies the admissible input sequences and how the input is to be converted to be assigned to the variable number of parameters passed to this function. The input is not read until the ENTER key is pressed.
Characters from input are matched against the characters of the formatString until a percent character (%) is reached. The percent character indicates that a value is to be read and stored to subsequent parameters following formatString. Each subsequent parameter after formatString gets the next parsed value taken from the next parameter in the list following formatString.
For values for these items, see Formatting Input in eScript.
|Siebel eScript Language Reference|