Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

SEARCH( acKeys, acCues, acPics [, nRow [, nCol ]])

Purpose

Generalised search mechanism.

Arguments

     acKeys -- string or array of index keys

     acCues -- string or array of identifiers for keys

     acPics -- string or array PICTURE to use in READ

     nRow -- if passed, top row of menu, else if called from THE_USUAL(),
             below its menu, else 2.

     nCol -- if passed, display column, else current column

Setup

Called from THE_USUAL() and assumes all the standard variables are
declared. If not it does a "white-brand" search which is less cosmetic.

Example

SEARCH( xkeys, xcues, xpics )

Returns

.T. if search succeeds, else .F.

Side Effects

Compound indexes with "@R" pictures can result in pictures that are too
short. Index order is set if user selects from the pulldown. Crash on bad
data.

Artful Calls

FILTR_TYPE, PULL_OPEN, SEEK_REL, MAKE_STR, GET_FILTER, MASK_FOR, IS_QUERY

Source File

AA_SRCH.PRG

See Also: ASK_FOR() MASK_FOR() U_SEARCH()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson