Jump to content
Sign in to follow this  
ThiagoJunqueira

Problem Count, i guess

Recommended Posts

ThiagoJunqueira

Hi ..

I'm trying to fix this code since 08:36

The problem:

If i put $Count = $Count + 1, then work's but jumping one by one

But, if i don't put $Count = $Count + 1, don't work. ):

Look an part:

Original:

"ptr Reserved;" & _

"ptr Desktop;" & _

Later:

"_StringEncrypt(0, 'CF089B9B9042', 'thi', 1) Reserved;" & _

"_StringEncrypt(0, 'CF089B9B9042BBE4D01AA838EAF88F7565705A9A028D7873', 'thi', 1)" & _

Get it ?

Super.au3

Substitute.au3

Share this post


Link to post
Share on other sites
Danyfirex

it's obvious, you need add 1 to $count that you can get the correct array[$count] string.

Share this post


Link to post
Share on other sites
ThiagoJunqueira

Yeah, but when i put "$count = $count + 1", count 2. Because the "for" add 1 automatic

But if i don't put, then, don't work ..

Share this post


Link to post
Share on other sites
JLogan3o13

Just curious if you're expecting $count and $Count to be different variables, or if it is just bad typing? I notice in one spot you define it as $count and later as $Count.


√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
ThiagoJunqueira

It's bad typing .. sorry ):

Share this post


Link to post
Share on other sites
JLogan3o13

I would suggest trying to replace this:

$count = $count + 1

with this:

$count += 1

just to see if you get any different behavior. It should behave the same, though.


√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

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  

×