Pascal Scripting Overview.
iP Pascal Scripting - Standard Functions and Features...
iP scripting supports the following VARIABLE TYPES:
Integer, Longint, Shortint, SmallInt,
Char, String,
Byte, Word, Cardinal,
Real, Double, Single, Extended, Comp,
Boolean, Array, Record, Variant, Enumerations.
iP scripting supports the following STANDARD STATEMENTS:
Begin/End,
If/Then/Else,
For/To/Downto/Do,
Case x Of,
Repeat/Until, While/Do,
With/Do,
Try/Except/Finally,
Exit, Continue, Break
iP scripting supports Procedures:
Procedure SayHi;
Begin
TALK('Hi Everyone!');
End;
iP scripting supports Functions:
Function UsersBesidesMe : Integer;
Begin
UsersBesidesMe:=USERSINROOM-1;
End;
iP scripting supports Arrays of Constants or Variables.
Var
People : Array[1..24] of String;
ThingsTheySaid : Array[0..3] of String;
HowManyTimesEachSpoke : Array[1..24] of Integer;
iP scripting supports Typed Recrods.
Type
UserData = Record
Name : String;
X, Y : Integer;
AVIds : String;
End;
Var
Users : Array[1..24] Of UserData;
Begin
Users[1].Name:='Dan';
End.
Tutorials |
Home |