FutureBasic Logo

<<    Index    >> FutureBasic

available   function



Syntax:
if ( available (osNum ) )
[statementBlock]
end if

Description
Use the available keyword to check availability information in a conditional statement.

if ( available(11.0) )
// Use macOS 11.0 APIs
else
// Alternative code for earlier versions of macOS
end if