'' mylib.bas '' compile with: fbc -lib mylib.bas -g -R '' Add two numbers together and return the result Public Function Add2( ByVal x As Integer, ByVal y As Integer ) As Integer Export Return( x + y ) End Function