GET_FIELDVALUE
|
Syntax: |
GET_FIELDVALUE(<Filename>,<Field
Name>)
|
||||
|
|
|
||||
|
Meaning: |
Returns the
numeric value of an Index File field. <Filename>
must contain the name of an Index File. The Index File must be used in the
program. <Fieldname> must contain the name of a
field of the Index File <Filename>. If <Fieldname> is an
alphanumeric field, GET_FIELDVALUE returns as result the value VAL(<Filename>.<Fieldname>). In the case of an error GET_FIELDVALUE returns
as result zero and the variable OK contains -1. Otherwise OK = 0. |
||||
|
Parameter: |
|
||||
|
Sample: |
FILE$ = "CUSTOMER" FIELD$ = "Number.1" NUMBER = GET_FIELDVALUE(FILE$,FIELD$) |
||||
|
See also: |
|