fb:porticula NoPaste
Funktions-Pointer, die Zweite
Uploader: | ![]() |
Datum/Zeit: | 17.07.2008 17:01:15 |
Declare Sub EineSub(blubbfunc As Function(x As Integer, y As Integer) As Integer)
Declare Function AddFunction(x As Integer, y As Integer) As Integer
EineSub(@AddFunction)
Sub EineSub(blubbfunc As Function(x As Integer, y As Integer) As Integer)
Print blubbfunc(1, 2)
End Sub
Function AddFunction(x As Integer, y As Integer) As Integer
Return x+y
End Function