|
Figure 03Using BIFs to search arrays and tables |
||
|
||
C Eval Idx = %LookUp( SrchArg : SomeAry )
C If Idx > *Zero
* Process information
C EndIf
|
A |
|
|
|
||
C Eval Idx = %LookUp( SrchArg : SomeAry : 4 )
C If Idx > *Zero
* Process information
C EndIf
|
B |
|
|
|
||
C Eval Idx = %LookUp( SrchArg : SomeAry : 4 : 5 )
C If Idx > *Zero
* Process information
C EndIf
|
C |
|
|
|
||
C Eval Idx = %LookUpGE( SrchArg : SomeAry )
C If Idx > *Zero
* Process information
C EndIf
|
D |
|
|
|
||
C Eval *In01 = %TLookUpLT( SrchArg : TabEmp )
C If *In01
* Process information
C EndIf
|
E |
|
|
|
||
C If %TLookUpLT( SrchArg : TabEmp )
* Process information
C EndIf
|
F |
|
| ||