AsInteger

<< Click to Display Table of Contents >>

Navigation:  Field Object >

AsInteger

Previous pageReturn to chapter overviewNext page

Sets / returns the value of a Field as integer.

property integer TVPEField.AsInteger

read / write; runtime only

Remarks:

In case of an error, an exception is thrown (for example out of memory or the field contained pure text that could not be converted to an integer value).

 

The Template Object itself offers simple methods to access a Field's value directly, i.e. without retrieving a Field Object first. See GetFieldAsInteger and SetFieldAsInteger.

 

See also:

"dycodoc Template Processing" in the Programmer's Manual