Names of ADAPL instructions and functions may not be used as variable names, regardless of whether upper or lower case letters are used. Most punctuation marks are reserved for certain functions in ADAPL program texts. You may not use them for any purpose other than their intended purpose within ADAPL. That also means that they cannot be used in names of variables and database fields:

( ) { } [ ] < > ! & = ^ * / + - ' , "

The underscore _ and the percent sign % can be used freely.

The table below contains a list of reserved words. The list comprises functions and instructions, internal variable or constant names, and words reserved for future use:

abs

and

after$

asc

attr

auxport

before$

black

blinking

blue

box

break

bright

case

chr$

clear

close

closeall

closeallfiles

closefile

clr

cls

column

continue

cursor

cvt$$

cyan

datdif

date$

dayofweek

default

delete

dialog

dim

display

do

edit$

else

 

end

errorf

errorm

fdend

fdstart

file

form

getkey

getvar

gosub

goto

green

hidden

if

include

input

instr$

int

integer

is

isin

isisbn

isissn

ismodified

isolatintohtml$

isstopword

jstr$

last

left$

len

let

line

locate

lock

magenta

max

message

mid$

milestone

min

mod

name$

ndays

next

no

noexec

nonmessage

noreset

not

null

numeric

off

on

onchangein

oneoj

oneop

onscreen

onsoj

onsop

open

openfile

or

output

page

pagebreak

pdest

pointer

prescan

previous

primos

print

progress

quit

read

reccopy

recdate$

red

redisplay

repcnt

repcopy

repfind

repins

repmax

repmin

repsort

repsortins

repsum

return

reverse

right$

rinstr$

round

round$

sendmail

screen

select

setfont

setlinespacing

setorientation

setpapersize

setstatusbartext

setvar

setwindowtitle

show

skip

spool

sqrt

status

str$

string$

switch

system

tag2field$

term$

text

text$

then

time$

title

trim$

unlock

until

update

user$

using

val

whatdate

while

white

write

writeempty

xor

yellow

yes

yesno