Field-Map Scripting

4.1.9.11 AttributeExists

AttributeExists function


Prototype:

function AttributeExists (const AttributeName: string): boolean;

Description:

Use AttributeExists to check whether or not there is an attribute in the Field-Map layer with the given name.

Syntax:

variable := Layer.AttributeExists(AttributeName);


Part

Description


variable

A variable declared as a string


Layer

A reference to the Field-Map layer as defined in Field-Map Project Manager


AttributeName

The name of an attribute to be verified

Return value:

True if there is an attribute with the given name in the layer



See also:

OpenTable; LoadSimpleXML; OpenParadoxTable; CreateMemTableFromDefs; CloseAndFreeTable; Constants; AddintegerAttribute; AddFloatAttribute; AddbooleanAttribute; AddStringAttribute; AttributeExists; DefaultValue; DefaultValueEnabled; GetAttributesWithDefaultValue; GetAttributesWithDefaultValue