Hello
I would like to have some way to return from Sub more then one value.
For example:
Sub min_max(a,b,min,max)
If a<b Then
min=a
max=b
Else
min=b
max=a
End If
End Sub
Calling as:
min_max(no1,no2,minimum,maximum)
I would expect after run filled out variables minimum and maximum with right values.
Thnx
I would like to have some way to return from Sub more then one value.
For example:
Sub min_max(a,b,min,max)
If a<b Then
min=a
max=b
Else
min=b
max=a
End If
End Sub
Calling as:
min_max(no1,no2,minimum,maximum)
I would expect after run filled out variables minimum and maximum with right values.
Thnx