The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



ScanStreamDecimal


Unit:SDL_streams
Class: none
Declaration: function ScanStreamDecimal (Instream: TStream): longint;

The function ScanStreamDecimal decodes a decimal number from a stream. The parameter Instream contains the decimal number to be scanned, starting at the current stream position. Valid characters are the digits '0'...'9', leading '-' and '+' signs, and leading blanks.

On return, ScanStreamDecimal contains the corresponding integer number; the property Position of the stream points to the first character after the scanned number.



Last Update: 2023-Feb-06