Jump to content
Sign in to follow this  
DJKMan

Executing Variables as Functions?

Recommended Posts

DJKMan

I accidently stumbled upon this when I made a typo but there were no errors. Is this by design?

$var = MsgBox(64, "Hello World!", "Test.")
$var = $var()
Edited by DJKMan

My work in AutoIt (Not many yet):

Parse Large Text Files To 2D Array Quickly [With Chunk Size]

 

My artificial intelligence project coded entirely in AutoIt. Meet Alice Assistant: http://facebook.com/ProjectAliceAI

 

Share this post


Link to post
Share on other sites
DJKMan

On second thoughts, it just looks like it is not picked up as an error.

It serves no purpose and does nothing.

Exactly what I was thinking. It doesn't seem to have any purpose at all. It made me curious though!


My work in AutoIt (Not many yet):

Parse Large Text Files To 2D Array Quickly [With Chunk Size]

 

My artificial intelligence project coded entirely in AutoIt. Meet Alice Assistant: http://facebook.com/ProjectAliceAI

 

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  

×