GetProfileNum Procedure

Returns the number of the current Profile.

Syntax

[ lProfile = ] GetProfileNum ( )

The GetProfileNum procedure syntax has the following parts:

 

Name

Type

Description

lProfile

Long

Current Profile number

Comments

Important: This command is unsupported, and is only here for compatibility with ATEasy 2.

This function returns a Long integer containing the number of the current Profile as selected using the Select Profile option from the Conditions menu or as set by the SetProfileNum function. If no Profile was selected, this function returns 0.

Example

If GetProfileNum( ) = 5 then

! Program statements

Endif

See Also

GetProfileName, Obsolete Items from ATEasy 2, SetProfileNum