Restores saved data to some of the screenint sm_rs_data(int first_field, int
last_field, char *buffer);
- Specifies the range of data items to restore, where all data between
last_fieldare restored to the screen.
- The address of a buffer, initialized by sm_sv_data, that stores the data to restore. Data items are stored in
bufferas null-terminated character strings. The contents of a scrollable array is preceded by 2 bytes giving the total number of items saved (high order byte first); each item is preceded by two bytes of display attribute, and followed by a null. There is an additional null following all the scrolling data.
sm_rs_datarestores all data items between
last_field, both off- and onscreen, from a buffer initialized by sm_sv_data.
The range of fields passed to
sm_rs_datamust match those passed to sm_sv_data and
buffermust be a value returned by that function; otherwise, serious errors may occur. For more information on saving data for later retrieval by
sm_rs_data, refer to sm_sv_data.