Alex Boiko homepage


Russian version
PASCALC
E-mail
КомпьютерПресс
  


PASCALC

Pascalc is the Pascal-like language interpreter for Delphi. The basic differences from standard Pascal the following:

Two data types supported: numbers (extended) and strings, Logical operators work with numbers. It's considered that 0 = FALSE, any nonzero number means TRUE. All logical operators return 1 as TRUE. Because of the Delphi TDateTime type compatible with extended, numbers can hold dates.

It's no need to declare variables, labels and functions. Pascalc creates variables dynamically on first assignment. Variable type depend on the last assigned value.

Expressions syntax:
Arithmetic operators: +, -, *, /, ^ (power), SHL, SHL
Bitwise operators: BITOR,BITAND,BITXOR,BITNOT
Logical operators: >, <, >=, <=, =, <>, AND, OR, NOT, constants TRUE and FALSE.
Operators precedence standard.

Statements supported:
BEGIN... END
IF... THEN... ELSE
CASE
FOR... TO/DOWNTO... DO
WHILE... DO
REPEAT... UNTIL
BREAK
CONTINUE
GOTO
EXIT
USES
INCLUDE

Pascalc supports multi-dimentional arrays, procedures and functions, user-defined funtions. Demo program included.

Download PASCALC 2.01 (100 K)

Download PASCALC source (password protected ZIP archive)

Online registration (RegisterNow, $20)