![]() |
![]() |
37 |
![]() |
Syntax Sunsnsary
|
Use DEC$ is a function which converts a numeric value to a formatted
decimal
string.
Syntax
DEC$(argument, template)
where
argumentis
a
numeric-expression,
and
template is
a
string-expression.
DEF
(see Chapter 6)
Use DEF is used to define am expression function.
Syntax
DEF
function-identifier[
I
parameter[, parameter)...
I
)—
result-expression
where
function-identifleris
an idenfifier, and result-expression
is
an expression of
the same type.
Each
parameter must
be a
simple-variable.
DEL
(see Chapter 15)
Use DEL deletes files. (See also ERASE and KILL)
Syntax DEL
rest-of-line
where
file-filter is
a
string-expression
rest-of-line is
everything up to the end of the line
DELKEY
(see Chapter 13)
Use DELKEY deletes a key forthe current record.
Syntax
DELKEY
[#)stream-number[,)
key
if,)
LOCK
lock-type)
where
key is:
KEY
key-value
if,)
INDEX
index-number)
on: AT
position-string
where
key-value is
an
expression,
giving a value compatible with the index’s keytype
index-number
is
an
integer-expression,
giving a value
in
the range 1.20.
posifion-stringis
a
string-expression,
giving a
value once returned by POSITIONS.
|
BASIC 2 Plus: User Guide & Quick Reference
37
|
![]() |
![]() |
37 |
![]() |