Jump to content

Problem Count, i guess


Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • Moderators

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.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

  • Moderators

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.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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...