t = GetVersion()
This function will return a table with the following fields initialized:
Application:
Version:
Version_Date:
Kernel:
Kernel_Date:
Beta:
True
if a beta version of
Hollywood is used, False
otherwise.
Platform:
Demo:
True
if the user is running a
demo version of Hollywood. (V4.71)
Plugins:
CPU:
BigEndian:
True
if Hollywood is running on a
big endian CPU (i.e. 68000 or PowerPC) or False
for a little
endian CPU (x86, x64 and ARM). (V6.0)
t = GetVersion() If t.platform = "Win32" Then Error("Sorry, Win32 is not supported yet!")The code above checks on which version we are running and exits with an error if Hollywood is running on Windows.