PIL Functions and Procedures

These a just a few of the many functions, soon we will have all of them listed with more examples.



char(val) - Returns an ascii character.
Example:
for i := 1 to 255 do
begin
	$character := char(i);
	writeln('char(',i,') is ',$character);
	i := i + 1;
end;
This will list out the ascii set from 1 to 255

inttostr(val) - Converts number variables to string variables.
Example:
begin
	number := 25 * 4;
	$stringvar := inttostr(number);
	writeln('number is ',number,' $stringvar is ',$stringvar);
end;

strtoint(val) - Converts string variables to number variables.
Example:
begin
	$stringvar := '25';
	number := strtoint($stringvar) * 4;
	writeln('number is ',number,' $stringvar is ',$stringvar);
end;

Note: This page is currently under construction.



This page hosted by Get your own Free Homepage
©1996 The Scripters Guild All Rights Reserved
Please send all questions and comments to TiAMaT
1