Page 803 - ExtendSim User Guide
P. 803

Uses
Data Management and Exchange 777
Blocks for data management and exchange
.
Input variables
Input Variable
DBQ read value
DBQ read PRI DBQ start record
DBQ num records
DBQ current record index
DBQ static query init
DBQ current best rank result DBQ current best record
DBQ num non-blank ranks
DBQS current best rank result
DBQS current best record
DBQS num non-blank ranks
X X
X X X X
X X X X
X X X X X X
X X
Requires the user to choose a field in the query table. As the query block starts to loop through each record, this variable automatically takes on the value found in that field for the current record. (This is easier than calling DBDataGetAsNumber() to reference informa- tion residing in the query table for the current record.)
The Parent Record Index value from the specified field for the current record. See note below.
The record to start the query cycle. (The default behav- ior is to start at record 1.)
The number of records in the query table.
The index of the record currently being evaluated in the query cycle.
A static input variable that gets initialized at the begin- ning of every query cycle.
Current best record rank result in the current query cycle.
The record index with the best rank at this point in the current query cycle. If the value of this input is < 1, then no record has yet to be given a ranking.
Number of non-blank ranked records at this point in the current query cycle.
X Current best spawn rank result in the current query cycle. (Only enabled if spawning is enabled.)
X The record index with the best spawn rank at this point in the current query cycle. If the value of this input is < 1, then no record has yet to be given a ranking. (Only enabled if spawning is enabled.)
X Number of non-blank spawn ranked records at this point in the current query cycle. (Only enabled if spawning is enabled.)
☞ The notation PRI (Parent Record Index) is used in blocks that interface with the ExtendSim database. It describes the type of value that is being read or written when dealing with a Child field.
Query Equation Query Equation(I)
How To


































































































   801   802   803   804   805