Jump to content

Var declaration within a func


VicTT
 Share

Recommended Posts

Does any of you know FOR CERTAIN if

Local $variable

and

Local $variable=""

produce EXACTLY the same C++ code/effect at runtime?I mean, by writing the second one, I am assuming the interpretor is smart enough to consider it identical to the first and not give me any speed overhead..

Quote

Together we might liveDivided we must fall

 

Link to comment
Share on other sites

Does any of you know FOR CERTAIN if

Local $variable

and

Local $variable=""

produce EXACTLY the same C++ code/effect at runtime?I mean, by writing the second one, I am assuming the interpretor is smart enough to consider it identical to the first and not give me any speed overhead..

<{POST_SNAPBACK}>

AutoIt script are not compile in the sense of generating binary code. It produce pseudo code. so the $variable="" generate more work to do. So Jdickens is right when he say little quicker :whistle:
Link to comment
Share on other sites

Yep..you're right, thanx for your replies..

@jpm

I am perfectly aware that it doesn't produce machine-code, that's why I said it produces C++ code..(it calls it at runtime) :whistle:

Quote

Together we might liveDivided we must fall

 

Link to comment
Share on other sites

Yep..you're right, thanx for your replies..

@jpm

I am perfectly aware that it doesn't produce machine-code, that's why I said it produces C++ code..(it calls it at runtime) :dance:

<{POST_SNAPBACK}>

it is not producing even a c++ code but as I say pseudo code based on autoit language :whistle:
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...