martin51 Posted October 26, 2019 Share Posted October 26, 2019 @ademes Hello ademes, return gives the result try this: function foo(n) print ("function foo") return n*2 endn = foo(4) print("N = ",n) N = 8 Regards Martin Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now