rmnfdez
New User
Joined: 02 Mar 2021 Posts: 1 Location: Spain
|
|
|
|
Hi,
I can't find an example using BINSEARCH in PL/I:
"BINSEARCH performs a binary search of an array for a specified key value by using a simple compare and returns a size_t value."
I would like use it to search a DEC FIXED (3) in the following matrix:
DCL 1 WNUM (100),
5 NUMS DEC FIXED (3) INIT(0);
WNUM is loaded in the same program with ordered values.
Thanks in advance.
Regards. |
|