%INTABLE

The %INTABLE function returns indication of whether specified text exists in a named table.

Format

%INTABLE(table, value)

Parameters

table

The name of the table to search. Tables are created and maintained using the Halcyon Work with Tables (WRKTBL) command.

value

The value to find in the table.

Return value

0

Value not found in table

1

Value found in table.