GetProfileName Procedure

Returns the name of the current Profile.

Syntax

[ sProfile = ] GetProfileName ( )

The GetProfileName procedure syntax has the following parts:

 

Name

Type

Description

sProfile

BString

Current profile name

Comments

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

This function returns a string containing the name 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 an empty string.

Example

If GetProfileName( ) = "DEBUG U12" then

! Program statements

Endif

See Also

GetProfileNum, Obsolete Items from ATEasy 2, SetProfileNum