Poniżej podaję listę wszystkich zarezerwowanych słówek (słów kluczowych, modyfikatorów/dyrektyw itd.), wykorzystywanych w składni Pascala, Turbo Pascala, Free Pascala, Object Pascala i Delphi:
absolute
abstract
alias
and
array
as
asm
assembler
at
automated
begin
break
case
cdecl
class
const
constructor
contains
continue
cppdecl
default
delayed
deprecated
destructor
dispid
dispinterface
dispose
div
do
downto
dynamic
else
end
except
exit
experimental
export
exports
external
false
far
file
final
finalization
finally
for
forward
function
goto
helper
if
implementation
implements
in
index
inherited
initialization
inline
interface
is
label
library
local
message
mod
name
near
new
nil
nodefault
nostackframe
not
object
of
oldfpccall
on
operator
or
out
overload
override
package
packed
pascal
platform
private
procedure
program
property
protected
public
published
raise
read
readonly
record
reference
register
reintroduce
repeat
requires
resident
resourcestring
safecall
sealed
self
set
shl
shr
softfloat
static
stdcall
stored
strict
string
then
threadvar
to
true
try
type
unit
unsafe
until
uses
var
varargs
virtual
while
winapi
with
write
writeonly
xor
Źródła (Free Pascal):
-
http://wiki.freepascal.org/Reserved_words#Reserved_words_in_Turbo_Pascal
-
http://wiki.freepascal.org/Reserved_words#Reserved_words_in_Object_Pascal
-
http://wiki.freepascal.org/Reserved_words#Reserved_words_in_Free_Pascal
-
http://wiki.freepascal.org/Reserved_words#Modifiers_.28directives.29
Źródła (Delphi): -
http://docwiki.embarcadero.com/RADStudio/Seattle/en/Fundamental_Syntactic_Elements#Reserved_Words
-
http://docwiki.embarcadero.com/RADStudio/Seattle/en/Fundamental_Syntactic_Elements#Directives
Wyżej wymieniona lista zawiera wszystkie zarezerwowane słówka dla składni, posortowane alfabetycznie, bez duplikatów; One wszystkie są podświetlane w edytorach, więc pasuje żeby i na forum były podświetlane; Wszystkie niepogrubione i bez linku nie są w chwili obecnej interpretowane;
@Adam Boduch - czy mając już gotową listę tych słówek, możesz zaktualizować highlighter? :]
True
/False
,new
,string
,break
,continue
czyexit
; W każdym razie powyższa lista to połączenie słówek z manuali języków, więc sam nic nie wymyślałem ;P<code=pascal>
dla starego Pascala (może i nawet Turbo Pascala), jest też i<code=delphi>
; Przydałby się np.<code=freepascal>
, bo Free Pascal wspiera stare słówka a Delphi nie (np.absolute
), no i posiada słówka typowe dla FPC;absolute
i nie tylko wyróżnia jako słowo kluczowe ale to działa (z ciekawości sprawdziłem na XE 8 bo pamiętam że dawniej to działało i działa nadal).