autonumber(a,b,c)


Returns the number b for the first call with the profile-wide number range a. Each subsequent call with this number range name returns the following integer b+1, b+2, etc., till number c.

Parameters b and c thus indicate the minimum and maximum limits. When the maximum is exceeded, the minimum follows 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 number range. Important note: Case-sensitive!

b

Minimum of number range.

c

Maximum of number range.


GUI


See section Profile Values for profile-wide number ranges.

Examples


The calls are made in this order.


Parameter a

Parameter b

Parameter c

Result

Number_Range_1

10

11

10

Number_Range_1

10

11

11

Number_Range_1

10

11

10