Internet Direct (Indy)
Home
PreviousUpNext
BinStrToInt Function

Converts a string representing bits to an integer value.

Pascal
function BinStrToInt(
    const ABinary: String
): Integer;
Parameters 
Description 
ABinary 
Bits for the integer as a string of '0' and '1' values. 

Integer - Value for the indicated bits.

BinStrToInt is an Integer function used to convert the string in ABinary to its representation as an Integer. 

ABinary contains an arbitrary numer of '0' and '1' values representing the bits which are OR'd togehter to form the return value for the function.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.