This command will return a value of one if the 3D device supports the fog range feature, otherwise zero.

Syntax: 
Return Integer=FOGRANGE AVAILABLE()