How to detect the operative system?

Find quick help here to get you started with Hollywood
Post Reply
User avatar
Juan Carlos
Posts: 509
Joined: Mon Sep 06, 2010 1:02 pm
Contact:

How to detect the operative system?

Post by Juan Carlos » Mon Aug 19, 2019 2:20 pm

Is there a instruction for one applet cans dectect the system where it is run? for example an applet to run a game or tool and if the system where it is run is 68k don't use one png mouse pointer and if the same applet is running on MorphOS detect it and use one png mouse pointer.

plouf
Posts: 66
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: How to detect the operative system?

Post by plouf » Mon Aug 19, 2019 3:04 pm

check out

t = GetVersion()
If t.platform = "Win32" Then Error("Sorry, Win32 is not supported yet!")

User avatar
Juan Carlos
Posts: 509
Joined: Mon Sep 06, 2010 1:02 pm
Contact:

Re: How to detect the operative system?

Post by Juan Carlos » Tue Aug 20, 2019 12:01 pm

Thank you for your help, it works as I ask it, I forget this instruction. Again thank you.

Post Reply