Jump to content

Strange behaviour


FaridAgl
 Share

Recommended Posts

Oh cool, I thought I read that you had done away with that feature!

MsgBox(0, "", Test(AnotherTest))

Func AnotherTest()
    Return "HELLO WORLD"
EndFunc

Func Test($myFunc)
    Return $myFunc()
EndFunc

Awesome.

Link to comment
Share on other sites

Oh cool, I thought I read that you had done away with that feature!

MsgBox(0, "", Test(AnotherTest))

Func AnotherTest()
    Return "HELLO WORLD"
EndFunc

Func Test($myFunc)
    Return $myFunc()
EndFunc

Awesome.

 

Functions are first class citizens in the latest betas. It's what allows this awesomeness to occur.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...