Platform Identification in Power Language

Questions about MultiCharts and user contributed studies.
Joe@DA
Posts: 10
Joined: 09 Sep 2011
Has thanked: 6 times

Platform Identification in Power Language

Postby Joe@DA » 04 Apr 2012

Is there a PL variable or function (e.g. GetAppInfo(xxx)) that I can use to determine whether my code is running on MultiCharts or TS? I've identified some minor behavorial differences between RadarScreen and Scanner that require slightly different code and would sure like to maintain a single code base rather than two.

Dru
Posts: 107
Joined: 28 Aug 2007
Has thanked: 4 times
Been thanked: 170 times

Re: Platform Identification in Power Language

Postby Dru » 05 Apr 2012

Code: Select all

if 0 = customerid then print("This is MC")
else print("This is TS");
These users thanked the author Dru for the post:
Joe@DA


Return to “MultiCharts”