Topic Path: Symbol Reference > Functions > BinStrToInt Function
ContentsIndexHome
PreviousUpNext
BinStrToInt Function

Converts a string representing bits to an integer value.

File
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.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.