id.expression

id.expression


ICONV Index Level IF
Syntax
Category BASIC
Type Definition
Description is a string expression which evaluates to an item-id, for use in all types of "read" and "write" statements.
Options
See Also RELEASE WRITEVU WRITE DELETE WRITEV MATREAD MATWRITE READV READ
Example read invoice.item from invoice.file,"12345" else...

In this example, the id.expression is "12345".

input id
read record from file,id else...

In this example, the value entered into the variable "id" is used as the id.expression.

read lastid from ctlfile,'lastid' then
write item on datafile,lastid+1
write lastid+1 on ctlfile,'lastid'
end

Both the literal string 'lastid' and the arithmetic expression "lastid+1" are id.expressions.
Warnings
Compatibility D3 7.0 AP R83
ICONV Index Level IF