field_sysattr

Returns the system attribute mask of the current active field.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X X      

Syntax

int field_sysattr()

Notes

The values are defined in trim.h.

Example

Counts the number of database fields in the window:
{
for (p.af = field_count()-1;p.af >= 0;p.af--)
  if (field_sysattr() & sat_database) cnt_DBMS++;
}