autonumber(a)


Returns the number 1 for the first call with the profile-wide number range a. Each subsequent call with this number range name returns the following integer, that is, 2,3, etc.

If the maximum value (2147483647 = 0x7FFFFFFF) is exceeded, the following value will be 1 again.

A distinct number range is managed per profile and number range name.

Important note: When this function is executed, a connection to the main Lobster_data database (hub) is established and closed again. Please note that this can lead to large performance losses with very frequent function calls.

Description of Parameters


Parameter

Description

a

Name of the number range. Important note: Case-sensitive!


GUI


See section Profile Values for profile-wide number ranges.

Examples


Parameter a

Result

Number_Range_1

1

Number_Range_2

1

Number_Range_2

2

Number_Range_1

2

number_range_1

1

number_range_1

2