Syntax

code

Function: IsBeta: Boolean;

Description

Returns True if Beta user, False if not.

Code Reference

  • 1. Navigate to Plugin Store->Tool Manager and create a new Plugin
  • 2. Set the plugin type to Script Code and open the Editor
  • 3. Copy Code into the editor
  • 4. press run

code

1

2

3

4

5

6

7

8

9

10

11

12

13

14

procedure TForm1.psIsBeta(Sender: TObject);

var

  ps: IPlanSwift;

begin

//Create Planswift Interface

ps := coPlanswift.Create;

//Check if planswift is beta

if ps.IsBeta then

  ShowMessage('You are a Beta User')

else

  ShowMessage('Your are not a Beta User');

//Free Planswift Interface

ps := nil;

end;