← DL-Pascal collectioncov01.log
DOWNLOAD ORIGINAL FILE
=== Section 1: Types and Operators ===
-- Ranges --
OK Byte max
OK Byte min
OK ShortInt max
OK ShortInt min
OK Integer max
OK Integer min
OK Word max
OK Word min
OK LongInt max
OK LongInt min
-- Arithmetic --
OK Int add
OK Int sub
OK Int mul
OK Int div
OK Int mod
OK Unary minus
OK Unary plus
OK Real add
OK Real sub
OK Real mul
OK Real div
OK Int->Real div
OK Mixed mul
OK Mixed sub
-- Bitwise --
OK AND
OK OR
OK XOR
OK NOT 0
OK SHL
OK SHR
OK AND hex
OK OR hex
OK XOR hex
-- Comparisons --
OK Int <
OK Int >
OK Int =
OK Int <>
OK Int <=
OK Int >=
OK Real <
OK Real >
OK Real =
OK Real <>
OK Char <
OK Char =
OK Char >
-- Boolean --
OK AND TT
OK AND TF
OK AND FT
OK AND FF
OK OR TT
OK OR TF
OK OR FT
OK OR FF
OK XOR TF
OK XOR TT
OK NOT T
OK NOT F
OK Short-circuit AND
OK Short-circuit OR
-- Type Cast --
OK Byte->Integer cast
OK Integer->Word cast
OK Word->LongInt cast
OK Trunc 3.7
OK Round 3.7
OK Trunc -3.7
OK Round -3.7
OK Chr(65)=A
OK Ord(A)=65
-- Char --
OK Char assign
OK Char succ
OK Char pred
OK UpCase lower
OK UpCase upper
OK Char in set
OK Digit in set
OK Not in set
-- Constants --
OK Hex $FF=255
OK Pi approx
OK E approx
OK Const bool
OK Const char
OK Const expr
-- Inc/Dec --
OK Inc by 1
OK Inc by 4
OK Dec by 1
OK Dec by 4
OK Byte Dec wrap
OK Byte Inc wrap
-- Misc --
OK Odd 3
OK Odd 4
OK Odd 0
OK Odd -1
OK Abs neg int
OK Abs pos int
OK Abs neg real
OK Sqr 4
OK Sqr -3
OK Sqrt 4
OK Sqrt 2
-- Succ/Pred --
OK Succ 5
OK Pred 5
OK Succ -1
OK Pred 0
=== Section 1 complete ===