IsOnTrial

Top  Previous  Next

 

IsOnTrial

 

Syntax

IsOnTrial([out] TrialVar);

 

Description

To get the information whether this application is running on a trial or full mode. This FSCommand is only available when you enable an expiration settings at Settings tab - Registration sub category.

 

Parameters

       TrialVar

               The name of the variable to receive the Trial Flag.

               1 = Running in a trial mode

               0 = Running in a full mode

 

Return

       1 = success

       0 = failed

       -1 = FSCommands cannot be found

 

Example

 

FSCommand("IsOnTrial", "TrialVar");