DO CASE
CASE "NT" $ OS()
* NT Specific stuff
CASE "95" $ OS()
* Win 95 specific stuff
CASE "98" $ OS()
* Win 98 specific stuff
OTHERWISE
* Generic code that works for other OS's
ENDCASE
If it is necessary to write additional code for new OS's they simply become another CASE in teh construct.