Syntax

code

Function: Edition;

Description

Returns the current PlanSwift Edition

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

procedure TForm1.psEdition(Sender: TObject);

var

  ps: IPlanSwift;

begin

//Create Planswift Interface

ps := coPlanswift.Create;

//Show Edition in Message Window

showMessage(ps.Edition);

//Free Planswift Interface

ps := nil;

end;