[SparForte][Banner]
[Top Main Menu] Intro | Tutorials | Reference | Packages | Examples | Contributors   [Back Page]      [Next Page]  

Reserved Words

AdaScript has a number of reserved words. These are keywords that have a special significance to the language and they cannot be used as variable names.  The following table lists all reserved words.  They are only reserved when in lower case.
 
abort
abs
abstract
accept
aliased
all
and
array
at
begin
body
case
clear
constant
declare
delay
delta
digits
do
else
elsif
end
entry
env
exception
exit
for
function
generic
goto
help
if
in
interface
is
jobs
limited
logout
loop
mod
new
not
null
of
or
others
out
package
pragma
private
procedure
protected
raise
range
record
rem
renames
requeue
return
reverse
select
separate
subtype
tagged
task
terminate
then
trace
type
typeset
unset
until
use
when
while
with
xor

If you attempt to use a reserved word, you will receive a error

=> digits : integer
digits : integer;
^ identifier expected, not a keyword
=> DIGITS : integer
=>

All Ada keywords are also reserved, even those that are not used by AdaScript, to make it easier to compile scripts under GCC Ada.
 

[Right Submenu]

 AdaScript versus GCC

 Case Sensitivity

 Reserved Words

 Comments

 Literals

 Bourne Shell Word Expansions

 Fundamental Types

 User-defined Types

 Enumerated Types

 Arrays

 Records

 Basic Assignment

 The @ and % Operands

 Command Argument Shortcuts

 Redirection and Pipelines

 Command Line Interaction

 Built-in Shell Commands

 The Current Directory

 Database Commands

 Flow of Control

 Other Statements/ Subprograms

 External Commands

 Block Statements and Subprograms

 TCP/IP Sockets

 Numeric Formatting with Put

 Interpreter Directives

 Command Line Options

 Command Reference

 ASCII and Latin_1 Character Sets

 Common Error Messages

 Common PHP Functions and the SparForte Equivalent

[Back to Top] Back To Top [Small Forte Symbol]