You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: