Property data types

 

For each property that you create, you specify the type of data that will be stored in the property. BrowserHawk uses data type checking to ensure that you assign only valid values to the properties based on its type.

 

When viewing the list of properties in the BrowserHawk Editor, a little icon appears to the left of the property name. This icon reflects the assigned data type for that property.

 

The following property data types are provided:

Integer: An integer data type is used to store whole numbers (numbers without fractions). Examples of valid integers are: 4, 0, and –5. Default value is 0.

String: A string data type is used to store any combination of letters and numbers. Examples of valid strings are: "Windows", "English", and "Netscape v4". Default value is "" (empty string).

Double: A double data type is used to store numbers which may contain a fraction. Examples of valid double data types are: 4.0, 0.01, 5.0993. Default value is 0.0.

Boolean: A boolean data type is used to indicate either a true or false condition. Valid boolean values are True and False. Default value is False.

Datetime: A datetime data type is used to store a particular point in time, expressed as a date and time together. An example of a datetime type is "03/22/1999 12:15:33 AM". Default value is "12:00:00 AM".

 

Tip: You cannot change a property type once it has been created. If you need to do so, you must remove the property and then recreate it with the desired property type.

 

See Also:

Understanding properties

Working with properties

Property data type differences from browscap.ini