Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I call a method and get the return value? #2

Open
lifuchao opened this issue Nov 7, 2019 · 0 comments
Open

How can I call a method and get the return value? #2

lifuchao opened this issue Nov 7, 2019 · 0 comments

Comments

@lifuchao
Copy link

lifuchao commented Nov 7, 2019

Hello,I have referenced this project,and I have test a simple function as follows:

Function MyTest(num As Integer)
If num > 0 Then
Console.WriteLine("input > 0")
Else
Console.WriteLine("input <= 0")
End If
return num + 10
End Function

It can parsed ok,but I'm wondering how can I call this function and get the return value?
for example:
MyTest(10),how to do it and get return value [20]

many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant