BASIC Program
Command Name
Type
Description
basic.%connect
C Function
Establishes a connection with a host through sockets.
basic.$options
Statement
Sets compatibility options for the BASIC compiler.
basic.cfunc
Definition
can be called from a Pick/BASIC program or subroutine in AP/DOS and AP/Unix implementations using a syntax similar to that of normal C.
ue.007a
User Exit
updates a binary item.
basic.access
Function
Interface between Access and Pick/BASIC.
arithmetic.operators
Definition
add, subtract, multiply, and divide numeric operands in arithmetic expressions.
array
Definition
tables of values of any data type.
basic.!
Logical Operator
Logical 'or' operator and remark line indicator.
basic.#
Relational Operator
'not equal to'.
basic.$insert
Statement
Inserts object module within object module.
basic.%
Function
Defines built-in C function.
basic.%alarm
C Function
Sends SIGALRM to calling process after given delay.
basic.%creat
C Function
Creates new Unix file, or rewrites to existing file.
basic.%dup
C Function
Returns new file descriptor.
basic.%fdopen
C Function
Associates stream with a file.descriptor.
basic.%listen
C Function
Listens for incoming connections and limits the backlog of incoming connections.
basic.%open
C Function
Opens a Unix file for reading or writing.
basic.%pause
C Function
Suspends calling process until signal received.
basic.%popen
C Function
Creates pipe between calling process and command.
basic.%rdhex
C Function
Reads a Unix file and translates to hexadecimal.
basic.%shmat
C Function
Attaches to a shared memory segment.
basic.%shmdt
C Function
Detaches from a shared memory segment.
basic.%shmget
C Function
Creates shared memory segment and returns identifier.
basic.%wait
C Function
Waits for termination of child process.
basic.%whex
C Function
Writes to a Unix file, converting into binary.
basic.(
Reserved Character
used to surround arguments within functions, or to enclose subscript refererences within dimensioned arrays. It is also used to override the normal order of precedence evaluation.
basic.)
Reserved Character
surrounds arguments within functions, encloses subscript refererences within dimensioned arrays, and overrides the normal order of precedence evaluation.
basic.*=
Assignment Operator
Multiplies numeric expression and assigns to variable.
basic.+
Operator
Arithmetic operator (add). Also unary plus.
basic.+=
Assignment Operator
Adds numeric expression and assigns to variable.
basic.,
Relational Operator
Used to separate parameters in functions and to print tabstops with the 'print' and 'crt' statements.
basic.-
Operator
Mathematical operator (subtract). Also unary minus.
basic.-=
Assignment Operator
Subtracts numeric expression and assigns to variable.
basic./
Operator
Mathematical operator (divide).
basic./=
Assignment Operator
Divides numeric expression and assigns to variable.
basic.:
Relational Operator
Concatenation operator.
basic.:=
Assignment Operator
Concatenates expression and assigns to variable.
basic.;
Reserved Character
Program source line delimiter.
basic.=
Assignment Operator
Logical 'equal' operator or variable assignment.
basic.@
Reserved Character
see '@ function'.
basic.system
Function
Displays status of system-controlled variables.
basic.performance
Definition
General Performance Tips for the Interpreter or FlashBASIC.
flash.basic
Definition
converts Pick/BASIC source code into a list of binary instructions called object code.
UE.6193
User Exit
Shortens the input string to last 3 characters.
basic.@AM
Function
returns a string containing an attribute mark.
basic.@FM
Function
returns a string containing an attribute mark.
basic.@SM
Function
returns a string containing a subvalue mark.
basic.@VM
Function
returns a string containing a value mark.
basic.alpha
Function
Determines if string is alphabetic.
basic.array.dimensioned
Definition
a table where the contents of the elements can be altered (replaced) but the position of each element is fixed.
basic.assigned
Function
Determines if variable has been assigned a value.
basic.aux
Statement
Enables or disables spooling to the auxiliary port
basic.break
Statement
Enables or disables the break key.
basic.call
Statement
Calls external Pick/BASIC subroutine.
basic.case
Statement
Initiates the case statement.
basic.casing
Statement
Enables or disables case sensitivity.
basic.cat
Relational Operator
Concatenates string expressions.
basic.cfunc.user
Definition
user-supplied C or Assembly language code integrated into the Pick monitor and then called from BASIC using a C-like syntax.
basic.chain
Statement
Transfers control to executable TCL expression.
basic.chap
Statement
Provided for licensee compatibility, has no effect on Advanced Pick execution.
basic.char
Function
Returns ASCII character of numeric expression.
basic.col1
Function
Returns beginning position derived from last 'field' function.
basic.col2
Function
Returns ending position derived from last field function.
basic.cos
Function
Returns cosine of numeric expression.
basic.count
Function
Counts number of occurences of a string within another string.
basic.crt
Statement
Outputs expression to crt.
basic.data
Statement
Stacks strings for subsequent input(s).
basic.date
Function
Returns system date in internal format.
basic.dcount
Function
Returns count of strings delimited by a given delimiter.
basic.default.files
Definition
used by any file-access Pick/BASIC statement when a specific file variable is not specified.
basic.del
Statement
Alternate method of 'delete'.
basic.dim
Statement
Declares a dimensioned array.
basic.do
Statement
Part of 'loop' construct.
basic.dquote
Function
Extracts a double-quoted string from string.expression.
basic.dtx
Function
Converts decimal to hexadecimal.
basic.enter
Statement
Transfers control to cataloged program.
basic.equ
Statement
Declares constants at compile time.
basic.exit
Statement
Forces early exit from 'loop' or 'for ... next' construct.
basic.exp
Function
Returns exponent from numeric expression.
basic.field
Function
Returns substring from string expression.
basic.file
Statement
Opens file and dimensions array.
basic.functions
Definition
elements in FlashBASIC or Pick/BASIC language expressions, returning a single value in place, as a function of the arguments. A function can be used anywhere a variable or expression is used.
basic.ge
Relational Operator
'Greater than or equal to' operator.
basic.get
Statement
Gets raw characters from another port.
basic.go.to
Statement
Transfers execution to statement label.
basic.gosub
Statement
Transfers control to local subroutine.
basic.gt
Relational Operator
'Greater than' operator.
basic.hush
Statement
Enables or disables hush mode.
basic.if
Statement
Initiates logical expression.
basic.ifr
Statement
Initiates a multi-attribute logical expression.
basic.in
Statement
Inputs single character.
basic.include
Statement
Includes object module within object module.
basic.index
Function
Returns numeric starting position of string within string.
basic.inputerr
Statement
Used with 'input' to display error message on status line.
basic.ins
Statement
Alternate method of 'insert'.
basic.int
Function
Returns integer portion of numeric expression.
basic.key
Statement
Locates item-id in a b-tree index.
basic.le
Relational Operator
'Less than or equal to' operator.
basic.len
Function
Returns number of characters in a string expression.
basic.let
Statement
Optional assignment indicator.
basic.ln
Function
Returns natural log of numeric expression.
basic.locate
Statement
Locates element in string expression.
basic.locked
Definition
Takes 'locked' path when group/item lock encountered.
basic.lt
Relational Operator
'less than' operator.
basic.mat
Statement
Assigns data to a dimensioned array.
basic.match
Relational Operator
Pattern matching function.
basic.mod
Function
Returns remainder from dividing two numbers.
basic.ne
Relational Operator
'not equal to'.
basic.not
Function
Negates a logical expression.
basic.nuclear.tokens
Definition
Any function or expression may itself be an argument of another function or expression. The compiler evaluates expressions starting with the innermost set of parentheses.
basic.num
Function
Determines if string is numeric.
basic.occurs
Function
Locates strings which occur certain number of times.
basic.onerr
Definition
Takes 'error' path when media error encountered.
basic.open
Statement
Opens file for input and output.
basic.operators
Relational Operator
Operators * ! & = # - + / ^ < > \ [ ] ( )
basic.print
Statement
Outputs expression to printer or crt.
basic.printer
Statement
Toggles crt/Spooler output or closes entry.
basic.pwr
Function
Exponentiates numeric expression.
basic.read
Statement
Reads item into dimensioned or dynamic array.
basic.readnext
Statement
Retrieves the next item-id from an active list.
basic.readtx
Statement
Reads one tape record and displays in hexadecimal.
basic.readv
Statement
Reads one attribute and assigns to value.
basic.remove
Statement
removes a substring delimited by a system delimiter
basic.reserved.words
Definition
intrinsic function names cannot be dimensionsed array names and special tokens cannot be used as variable names.
basic.return
Statement
Returns control from a local or external subroutine.
basic.root
Statement
Loads the root.variable with the root FID of the specified index.
basic.rqm
Statement
Suspends processing for a specific amount of time.
basic.scan
Function
Searches the 'string.expression' for attribute marks, value marks, subvalue marks, and up to 3 user specified search.delimiters. The search.delimiters must be separated by a system delimiter (' ' \). Returns character position of first match, 0 if no matc
basic.send
Statement
Sends output to a specific port.
basic.seq
Function
Converts ASCII expression to numeric equivalent.
basic.sleep
Statement
Suspends processing for a specific amount of time.
basic.sort
Function
Sorts a string of attributes or values.
basic.soundex
Function
Returns soundex value for specified string.
basic.spooler
Function
Provided for lisensee compatibility, always returns 0.
basic.spoolq
Statement
Enables or disables the spooler entry number message
basic.squote
Function
Extracts a single-quoted string from string.expression.
basic.str
Function
Generates string of characters.
basic.sum
Function
Returns the sum of a list of numbers
basic.swap
Function
Searches the 'string.expression' for the 'start'-th instance of the 'search.string', then replaces 'search.string' with 'replacement.string' for the next 'occurances' instances. If occurances is not specified, all occurances are replaced. If start is miss
basic.ta
Statement
Toggles or resets the type-ahead buffer.
basic.tan
Function
Calculates tangent of angle.
basic.tcl
Statement
Performs TCL command expression.
basic.time()
Function
Returns current time in internal format.
basic.trim
Function
Trims leading, trailing, and/or redundant characters from a string.
basic.trimb
Function
Removes trailing spaces from a string.
basic.trimf
Function
Removes leading spaces from a string.
basic.until
Statement
Part of 'loop' and 'for ... next' constructs.
basic.weof
Statement
Writes an end-of-file mark to tape.
basic.while
Statement
Part of 'loop' and 'for ... next'.
basic.xtd
Function
Converts hexadecimal number to decimal.
basic.[
Reserved Character
Substring extraction, assignment, or field store.
basic.]
Reserved Character
Substring, or text string extraction.
basic.^
Operator
Mathematical operator (exponent).
named.common
Definition
a global, common, Pick/BASIC variable space used to store variables and arrays in the area identified by 'id'. Named common space is initialized only at logon and released at logoff.
screen.display
Subroutine
displays a screen and waits for a selection.
screen.init
Subroutine
initializes the screen COMMON workspace.
setting
Command
see 'get' and 'locate'.
statement.block
Definition
one or more statements that follow a Pick/BASIC decision-path related token such as, but not limited to, 'then', 'else', 'locked' and 'onerr'.
ue.0003
User Exit
Returns the TCL command invoking the Pick/BASIC program.
ue.0004
User Exit
Returns term type in dynamic array format.
ue.0005
User Exit
Clears the type-ahead buffer
ue.000e
User Exit
Gets the name of the currently logged-to account.
ue.0010
User Exit
Creates a phantom process
ue.0011
User Exit
Gets the port number of the scheduler process.
ue.001c
User Exit
Gets the number of attributes after a 'matread'.
ue.001f
User Exit
Returns the last 'shutdown' status.
ue.0033
User Exit
Converts a decimal number into a roman numeral.
ue.0039
User Exit
Performs a disk read (PC BIOS 'INT 13' call).
ue.0079
User Exit
Returns 'where' status.
ue.0089
User Exit
Converts a hex string to a binary string.
ue.009d
User Exit
Encodes or decodes a string of characters.
ue.009e
User Exit
Scans and replaces text.
ue.00b9
User Exit
Returns a soundex value for a specified string.
ue.00ba
User Exit
Performs a write to the video controller card (PC BIOS 'INT 10' call).
ue.014a
User Exit
Performs a disk read (PC BIOS 'INT 13' call).
ue.014b
User Exit
Performs a disk write (PC BIOS 'INT 13' call).
ue.017e
User Exit
Allow output of any character.
ue.0209
User Exit
returns alphabetic and numeric characters only
ue.0358
User Exit
Allows character input combined with an 'End Of Input' (EOI) character.
ue.1072
User Exit
Sorts a dynamic array.
ue.10b9
User Exit
Converts currency punctuation to 'International'.
ue.1209
User Exit
Breaks a single line of text into multiple lines
ue.1f
User Exit
returns boot status
ue.20b9
User Exit
Converts currency punctuation to 'American'.
ue.2117
User Exit
Returns information about the current process.
ue.21a3
User Exit
Opens a file, or reads the next attribute from a file.
ue.222d
User Exit
Retrieves the CC pointer item information
ue.28
User Exit
Returns file-save count.
ue.3060
User Exit
Encrypts a character string.
ue.3079
User Exit
Returns the PCB fid or the port number for the current port.
ue.307a
User Exit
Suspends processing until a specified time.
ue.3090
User Exit
Aborts a Pick/BASIC program.
ue.313c
User Exit
Returns the diskette drive type and density selected.
ue.352e
User Exit
Retrieves buffer status.
ue.3b
User Exit
Returns information about the port.
ue.3f
User Exit
Converts an ASCII hex-format string to binary and sends it to the printer.
ue.4070
User Exit
Sends all subsequent output to the terminal.
ue.407a
User Exit
Suspends processing for a specified amount of time.
ue.4117
User Exit
Returns the PCB fid for the current port.
ue.4209
User Exit
parses the input into discreet words.
ue.50bb
User Exit
Returns the port number, user-id and current account name.
ue.5117
User Exit
Returns the PCB fid for port 0.
ue.60ba
User Exit
Shuts down the Pick System.
ue.60bb
User Exit
Returns the user-id (in AP) and account name.
ue.63
User Exit
Sets/Clears privilege bits
ue.65
User Exit
Returns the estimated number of items in a file.
ue.7000
User Exit
Returns the size of an item.
ue.70ba
User Exit
Forces system restart.
ue.80ba
User Exit
Sets IBM keyboard on AP/Native and AP/DOS systems.
ue.819f
User Exit
returns the number of items selected by the most previous select.
ue.90
User Exit
returns the file-of-files number for the previously access file.
ue.90e3
User Exit
Flips the parity on the input
ue.91
User Exit
reads and writes Pick shell variables.
ue.9116
User Exit
Logs on a specified port.
ue.92
User Exit
follows the links of a frame
ue.a0ba
User Exit
Sets IBM function keys on AP/Native and AP/DOS systems.
ue.a116
User Exit
Logs off a specified port.
ue.b070
User Exit
Returns the absolute value of a variable.
ue.b0ba
User Exit
Reads from a memory location.
ue.c0ba
User Exit
Writes to a memory location.
ue.d0ba
User Exit
Reads a character byte from a serial port.
ue.e0ba
User Exit
Writes a character byte out to a serial port.
ue.f070
User Exit
Toggles multi-user mode and returns system information.
variables
Definition
store a number, string, file descriptor, or select list, and may change dynamically throughout the execution of the program.
Back to Category Listing