Jump to content
Sign in to follow this  
FaridAgl

Strange behaviour

Recommended Posts

FaridAgl

Latest beta of AutoIt, with latest beta of AutoIt wrapper etc (scite, tidy, obfuscator, ...).

It gives an error with 3.3.8.1, but no error with 3.3.9.15, shows an empty MsgBox and runs normaly.

Share this post


Link to post
Share on other sites
trancexx

The pointer isn't explicit so it more correct to use term "reference" not to cause confusion.

Edited by trancexx

♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites
jaberwacky

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.

Share this post


Link to post
Share on other sites
James

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.

Share this post


Link to post
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
Sign in to follow this  

×