Returns the number of the current Profile.
[ lProfile = ] GetProfileNum ( )
The GetProfileNum procedure syntax has the following parts:
Name |
Type |
Description |
lProfile |
Long |
Current Profile number |
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.
If GetProfileNum( ) = 5 then
! Program statements
Endif