Private Sub aFunction(IntParameter1 as Int, StrParameter2 as String)
Dim ThisFunction as ClsFunction
ThisFunction = Me.GetFunction
If ThisFunction.AccessModifier = ThisFunction.ACCESS_MODIFIER_PRIVATE then
ToastMessageShow(ThisFunction.Name & " is a Private function!")
End If
If ThisFunction.Parameters.Size > 0 then
For IntIdx = 0 to ThisFunction.Parameters.Size - 1
Dim Parameter as ClsParameter
ClsParameter = ThisFunction.Parameters.Get(IntIdx)
ToastMessageShow(ClsParameter.Name & ", " & ClsParameter.Type)
Next
End If
End Sub