How to know on wich platform my script is running.

Discuss any general programming issues here
Post Reply
Pierre55
Posts: 54
Joined: Sat Apr 01, 2017 4:25 pm

How to know on wich platform my script is running.

Post by Pierre55 »

Hi,

Since some commands like PermissionRequest() are only for one platform like this one that seems for Android I would like to find a way to determine on wich platform my script is running so I can execute these fonctions only if they are in the correct environnement.

Thank you.

Pierre
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: How to know on wich platform my script is running.

Post by airsoftsoftwair »

Try looking at the "Platform" tag returned by GetVersion().
Post Reply