fbpx
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Anonymous methods

Anonymous methods 3 years 1 month ago #1

  • robert
  • robert's Avatar Topic Author
  • Offline
  • Posts: 843
  • Karma: 6
DELEGATE Multiply(x AS REAL8) AS REAL8
FUNCTION Start AS VOID
LOCAL del AS Multiply
del := {|e| e * e}
? del(1)
? del(2)
? del(3)
? del(4)
Console.ReadLine()
RETURN
XSharp Development Team
The Netherlands
This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

Last edit: by robert.
  • Page:
  • 1