basic.ac.expression Definition/BASIC Program

basic.ac.expression

Command basic.ac.expression Definition/BASIC Program
Applicable release versions: AP, R83
Category BASIC Program (486)
Description any numeric constant or any arithmetic, logical, or string expression which evaluates to a valid numeric value, used to reference an "attribute count" within statements, functions, and array or string variables which require or allow them. See "data representation" for valid numeric values.
Syntax
Options
Example
readv company.name from customer.file,cust.id,1 else...

In this example, "1" is the ac.expression.

apos = 2
readv company.address from customer.file,cust.id,apos else..

The variable "apos" must be numeric; in this case it is a 2.

customer.item<1> = "test string"

The numeric constant "1" indicates attribute 1 of the string in the 
"customer.item" variable.

audit.item<bpos+i> = amount.list<bpos>

The arithmetic expression, "bpos+i", calculates the attribute 
position in "audit.item".
Purpose
Related data.representation
basic.lt
basic.writev
basic.array.references
basic.replace
basic.>
basic.vc.expression
basic.readv
basic.ins
basic.<
basic.writevu
basic.sc.expression
basic.insert
basic.locate
basic.extract
basic.(
basic.)