The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Unit: SDL_dstruct
Class: TAssocArray
Declaration: function ResolveAsInt (Key: string): integer;

The function ResolveAsInt tries to find the entry corresponding to the key Key and returns the associated value as an integer number. If Key does not exist (or, if Key does not match because IgnoreCase is set to false), the function returns a zero value. Strings are automatically converted to numbers (if possible).

Last Update: 2017-Dec-21