Jump to content
Sign in to follow this  
VicTT

Var declaration within a func

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[/quote]

Share this post


Link to post
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:

Share this post


Link to post
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[/quote]

Share this post


Link to post
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:

Share this post


Link to post
Share on other sites

We agree :whistle:..It calls C++ code at runtime :dance::D:D..:dance:..jpm..I submit manual corrections to you?All which I find?


[quote]Together we might liveDivided we must fall[/quote]

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...