is the Pascal-like language interpreter for Delphi.
The basic differences from standard Pascal the following:
Download PASCALC 2.01 (100 K)
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.
Arithmetic operators: +, -, *, /, ^ (power), SHL, SHL
Bitwise operators: BITOR,BITAND,BITXOR,BITNOT
Logical operators: >, <, >=, <=, =, <>, AND, OR, NOT, constants TRUE and FALSE.
Operators precedence standard.
IF... THEN... ELSE
FOR... TO/DOWNTO... DO
Pascalc supports multi-dimentional arrays, procedures and functions,
user-defined funtions. Demo program included.
Download PASCALC source (password protected ZIP archive)
Online registration (RegisterNow, $20)