The designers should add a proper method of detection or explain how it can RELIABLY be detected.
Yes - still waiting for some input on this....
At the moment, the best you can do is look for an identifying string, which does nothing other than show it's a version able to support GD2, even if GD2 is not possible on the system.
Rich's idea of attempting to set a GD2 mode is a non-starter, it would cause flashing on some systems. If he wants to do that in his program, he could error trap an attempt to set a mode and test for the resultant mode:
set mode 32 or whatever was there an error? -yes that mode not poss -no, obviously it supports that mode
No - my working example is to use one of the new GD2 commands to set a strip colour - that will not cause flashing, as it will have no effect on screen. However, you do need to read the original colour and reset it afterwards - that was missing from my code.
-- Rich Mellor RWAP Services 26 Oak Road, Shelfield, Walsall, West Midlands WS4 1RQ
http://www.rwapservices.co.uk/
_______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
