How to detect the operative system?

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

How to detect the operative system?

Post by Juan Carlos »

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: 472
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: How to detect the operative system?

Post by plouf »

check out

t = GetVersion()
If t.platform = "Win32" Then Error("Sorry, Win32 is not supported yet!")
Christos
User avatar
Juan Carlos
Posts: 891
Joined: Mon Sep 06, 2010 1:02 pm

Re: How to detect the operative system?

Post by Juan Carlos »

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