Innerfuse Pascal Script
Back to Index.

Types:
TIfPasToken
TIfPascalParser
TIfList
TIfStringList

Functions:
function FastUpperCase(const s: string): string;
Returns the string (S) in uppercase.

function FastLowerCase(const s: string): string;
Returns the string (S) in lowercase.

function Fw(const S: string): string;
Returns the first word of a string.

procedure Rs(var S: string);
Removes spaces at the beginning on the string.

procedure RFw(var s: string);
Removes the first word.

function StrToReal(const S: string): Extended;
Converts a string to a real.

function StrToIntDef(const S: string; Def: LongInt): LongInt;
Converts a string to an integer.

function StrToInt(const S: string): LongInt;
Converts a string to an integer.

function Padr(s: string; i: longInt): string;
Adds spaces to the right of the string until it's length is i.

function Padz(s: string; i: longInt): string;
Adds zeros to the left of the string until it's length is i.

function Padl(s: string; i: longInt): string;
Adds spaces to the left of the string until it's length is i.

function FloatToStr(E: Extended): string;
Convert a float type to a string type.

function IntToStr(I: LongInt): string;
convert an Integer to a string.


Copyright (c) 2001 by Carlo Kok
last update: 24-11-01