Note: Some of these may be obsolete.@ is not allowed with pragma ada_95 - @ (itself) is not an Ada 95 feature. Fill in the actual variable name.
% is not allowed with pragma ada_95 - % (last output) is not an Ada 95 feature.
$# not allowed with pragma ada_95 - $# is not an Ada 95 feature. Use the command_line package instead.
$0 not allowed with pragma ada_95 - $0 is not an Ada 95 feature. Use the command_line package instead.
$1..$9 not allowed with pragma ada_95 - $1 to $9 are not an Ada 95 feature. Use the command_line package instead.
absolute paths to commands not allowed in restricted shells - absolute paths are a security risk because they allow a restricted shell or script to run any command (provided they have permission to do so).
access to this TCP/IP port is prohibited - certain URL port numbers are reserved for special functions or are non-standard across different operating systems. Choose a different port number.
alias isn't supported - since SparForte has no access types, the Ada keyword alias isn't supported by SparForte.
already declared - the name is already defined in the symbol table as something else
assertion failed - the condition for the assert pragma evaluated to false.
boolean expression expected - SparForte was expected something that equates to "true" or "false" but found something else instead. For example, "if 2+2 then". Check your expression.
boolean operator expected - SparForte was expecting a AND, OR or XOR. Usually indicates something is missing in the command.
Bourne shell-style parameters not allowed with pragma ada_95 - Bourne shell parameters are not a feature of Ada 95. Use Ada-style parameters instead.
Break - a pragma inspection_point was encountered, or the program was interrupted with control-c (SIGINT).
cannot create an in file - a file must first have data written to it before it can be read. You cannot read a newly created file.
cd is not allowed in a restricted shell - cd is a security risk because the user or script can run different commands if they change their current directory.
character literal more than 1 character - single quotes denote a character literal such as 'a' or '1'. Double quotes denote strings of more one or more characters.
command types not allowed with pragma ada_95 - command types are not a feature of Ada 95. Try implementing them as strings.
command variables must be constant - commands can only be declared as a constant.
create not allowed in a restricted shell - restricted shells and scripts cannot create new files.
current directory not assessible / doesn't exist - your current directory was deleted or had its permissions changed.
else without if - SparForte is unable to find the if that belongs to your else. Check the structure of your if's.
elsif without if - same as above. end of file - your program has attempted to read past the end of the file
end_of_file only applies to in_mode files - the end_of_file function only applied when reading files. When writing or appending to files, you are always at the end of file.
expected parent unit FILE - the name of the parent unit in the separate statement doesn't match the unit name.
exception raised - the operation was not permitted. For example, dividing by zero or doing arithmetic with a variable that has no value.
file already open - the file_type variable was already opened by open or create but it must be closed before it is reopened.
file not open - the file_type variable hasn't been opened yet with open or create.
file_type expected - SparForte was expected a file_type variable in an open, create, etc. command. Check the type and order of your parameters.
file_type or socket_type variable expected - same as above.
functions not implemented - user-defined functions are not yet implemented
include file FILE doesn't exist or is not readable - SparForte is unable to find your separate subprogram. The filename is spelled wrong, not in the search path, or cannot be read by SparForte. invalid based numeric literal - usually specifying a base and using number characters larger than the base allows
is not an executable command - the command cannot be found or you do not have permission to run it.
limited types cannot be assigned a value - limited types are assigned values by SparForte. They cannot be assigned values.
missing statement or command - block statements must contain statements or commands. Use the null command if there are no statements or commands.
no & - final piped command always runs in the foreground - the last command in a pipeline cannot have a & (run in background). (This is also true in BASH.)
no & - piped commands are automatically run the the background - commands being piped don't need a & (run in background) since they must always run in the background. The & is implicit.
no enclosing loop to exit - exit was used while not in a loop. If you want to quit an interactive session, use logout.
no such argument - the $1..$9 you are referning to doesn't exist.
not declared - the name has not been defined in the symbol table. Often indicates a spelling mistake
number format picture string expected - the put appears to be a formatted put, but there is no format picture or the picture isn't a string.
number not a valid format picture - the number cannot be displayed using the format picture string. For example, the number is too big.
numeric or enumerated type expected - for loops can only loop over numeric or enumerated ranges. For example, for s in "a".."z" loop is a string range.
only numeric types can use a format picture - Only numeric values can be put with formatting. Strings or other types cannot be used.
operation (something) not defined for these types - In this context, the arithmetic operation doesn't make sense. For example, using ** for two strings.
operation not defined for string types - for example, attempting to multiply two strings
operator expected - SparForte was expected an arithmetic operator like +. Usually indicates something missing in the command.
out_file mode not allowed in a restricted shell - files cannot be overwritten in restricted scripts or shells.
packages not implemented - user-defined packages are not yet implemented
pathname should not be null - empty pathnames ("") are now allowed. Omit the pathname if you want SparForte to create a temporary name, or check your string to find out why the pathname is missing.
pipelines are not allowed with pragma ada_95 - pipelines ("|") are not a feature of Ada 95. Use pipe files or share the results using a temporary file.
possible type of - the name has not been defined in the symbol table but appears to be similar to the spelling of another, defined name.
procedures not implemented - user-defined procedures are not yet implemented
protected types not implemented - AdaScript doesn't implement Ada's protected types because there is no multithreading.
return cannot return a status code with pragma ada_95. use command_line package - Bourne shell's return can return a status code, but Ada's return does not permit a status code.
sockets don't have a mode - socket_type variables are always in and out simultaneously. Don't specify a mode.
standard_input (or output or error) cannot be assigned to (output or input) - standard input can only be read. Standard output and error can only be written.
tasks not implemented - AdaScript doesn't implement Ada's tasks or task types because there is no multithreading.
this file is the current (input/output/error) file - you cannot close standard input, output or error. For example, SparForte will not allow you to close the keyboard in an interactive session.
this is not an interactive shell--use return - logout is not permitted in scripts because you are not "logged in".
too many identifiers (symbol table overflow) - SparForte has no space to declare any more identifiers. Your program has too many variables declared. Try breaking up the variables with declare blocks.
too many nested statements (block table overflow) - there are too many nested block statements. For example, very many if statements with no end if.
type name expected, not a number - for example, expected integer but found a 14 insteadtype name expected, not a string literal - for example, expected integer but found "hello world!" insteadtype name expected, not a keyword - for example, expected integer but found then insteadtype name expected, not a symbol - for example, expected integer but found a semicolontypeset is not allowed with pragma ada_95 - typeset is not a feature of Ada 95. Use a different variable with a new type.
typeset is only allowed in an interactive session - typeset is an interactive session convenience. It is not intended for use in scripts because it makes scripts difficult to read.
unable to allocate memory to call command - your system is out of (virtual) memory.
unable to open file - the operating system report a problem while opening the file. For example, you may not have permission to open the file or the file has been locked by someone else.
unable to interpret TCP/IP host - the format of the URL is wrong. For example, a missing hostname may cause this error.
unable to interpret TCP/IP port - the format of the URL is wrong. For example, a colon without a port number may cause this error.
unable to open socket - SparForte was unable to establish a socket to the URL. For example, your Internet connection may be down or the host name is spelled wrong.
unable to delete file - the operating system reported a problem while deleting the file. For example, the file may have been deleted by someone else already.
unable to read file - the operating system reported a problem while reading the file. For example, the file may have been deleted by someone else.
unable to set input (or output or error) - the operating system reports that the file cannot be made into the current source of input or output.
unable to write file - the operating system reported a problem while writing the file. For example, the file may have been locked by someone else to prevent writing.
unexpected arguments after & - when a command is run in the background using &, the & must be the last symbol.
universal/typeless types not supported by pragma ada_95 - universal types are not a feature of Ada 95. Use other types instead.
unset is not allowed with pragma ada_95 - unset is not an Ada 95 feature.
unset only allowed in interactive sessions - unset cannot be used in scripts. It is a interactive session convenience.
unsetting PATH is not allowed in a restricted shell - changing PATH is a security risk because it changes what programs can be run from the restricted shell or script.
use not implemented - this Ada command is not yet implemented.
variable/value expected - SparForte found a keyword but was expecting a variable or a literal. Usually indicates something missing in the command.
variable not allowed as a case - in a case statement, when cases cannot contain variables.
warning: This is an interactive shell. Use logout. - Use logout to stop an interactive session, not return.
when others expected - case statements must always have a when others part.
with not implemented - this Ada command is not yet implemented.
|Back To Top|