September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
11
Task/Higher-order-functions/VBA/higher-order-functions.vba
Normal file
11
Task/Higher-order-functions/VBA/higher-order-functions.vba
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
Sub HigherOrder()
|
||||
Dim result As Single
|
||||
result = first("second")
|
||||
MsgBox result
|
||||
End Sub
|
||||
Function first(f As String) As Single
|
||||
first = Application.Run(f, 1) + 2
|
||||
End Function
|
||||
Function second(x As Single) As Single
|
||||
second = x / 2
|
||||
End Function
|
||||
Loading…
Add table
Add a link
Reference in a new issue