home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Creative Review 28
/
Creative-Review-CD-ROM-28.iso
/
pc
/
kungfu
/
assets
/
intro.dir
/
00123_Script_hcheckdepth
< prev
next >
Wrap
Text File
|
1997-08-08
|
958b
|
51 lines
-- ==================================================
-- hcheckdepth
-- --------------------------------------------------
on hcheckdepth language
if not ( the colordepth = 8 ) then
if the machinetype = 256 then
alert field ( "256" && language )
-- quit
else
set the colordepth = 8
end if
end if
set requiredk = 2.5 * 1000
put "requiredk: " , requiredk
set gotk = the freeblock / 1024
put "gotk: " , gotk
-- if gotk < requiredk then
-- alert field ( "memory" && language )
-- quit
-- end if
if not ( the quicktimepresent ) then
alert field ( "quicktime" && language )
quit
end if
end hcheckdepth
on setpoll
global gpoll
if the machinetype = 256 then
set gpoll = new ( script "antipoll class" )
else
set gpoll = new ( script "poll class" )
end if
end setpoll