Intrinsics Parameters

Version II.0, February 1979

page115 Warning:

Most of the UCSD intrinsics assume that users are fluent in the use of PASCAL and are experienced in the use of the system. Any necessary range or validity checks are the responsibility of the user. Since some of these intrinsics do no checking for range validity, they may easily cause the system to die a horrible death. Those intrinsics which are particularly dangerous are noted as such in their descriptions. -

Parameters

Required parameters are listed along with the function/procedure identifier. Optional parameters are in [square brackets]. The default values for these are in {meta-brackets} on the line below them.

Following are some definitions of terms used in these documents. They tend to take the place of formal parameters in the dummy declaration headers that preface each description of a particular routine, or set of routines.

ARRAY
a PACKED ARRAY OF CHARacters
BLOCK
one disk block (512 bytes)
BLOCKS
an INTEGER number of blocks
BLOCKNUMBER
an absolute disk block address
BOOLEAN
any BOOLEAN value
CHARACTER
any expression which evaluates to a character
DESTINATION
a PACKED ARRAY OF CHARacters to write into or a STRING, context dependent
EXPRESSION
part or all of an expression, to be specified
FILEID
a file identifier, must be
VAR fileid: FILE OF <type>;
or TEXT;
or INTERACTIVE;
or FILE;
INDEX
an index into a STRING or PACKED ARRAY OF CHARacters, context dependent or as specified.
NUMBER
a literal or identifier whose type is either INTEGER or REAL.
RELBLOCK
a relative disk block address, relative to the start of the file in context, the first block being block zero.
SIMPLVARIABLE
any declared Pascal variable which is of one of the following types: BOOLEAN, CHAR, REAL, STRING page116 or PACKED ARRAY[..] OF CHAR
SIZE
an INTEGER number of bytes or characters; any integer value
SOURCE
a STRING or PACKED ARRAY OF CHARacters to be used as a read-only array, context dependent or as specified. In the case of string intrinsics, it must be STRING.
SCREEN
an array 9600 bytes long; or as needed.
STRING
any STRING, call-by-value unless otherwise specified, i.e. may be a quoted string, or string variable or function which evaluates to a STRING.
TITLE
a STRING consisting of a file name
UNITNUMBER
physical device number used to determine device handler used by the interpreter
VOLID
a volume identifier, STRING[7]

This page last regenerated Sun Jul 25 01:09:11 2010.