Jump to content

StringChr function query


Recommended Posts

You have a couple of errors, maybe it was just a copy/paste issue, but first your include is wrong, it should be:

#include <StringConstants.au3>

With no space. Also your example is not using anything from StringConstants, so it's not doing anything (in what's provided, so it's pointless to give to us). Next up, this part:

if @CR = As(StringChr(GUITrlRead($A))

Has multiple issues. "As" is not a function, did you mean "Asc"?

"StringChr" is also not a function, did you mean just "Chr"?

"GUITrlRead" is almost a function, but you're missing a letter for GUICtrlRead.

 

Beyond those issues, you'll have to give us more information, as what you've provided is very vague. Provide a runnable piece of code from your script that contains only what's needed to show your issue to us. Most likely your If statement won't work like how you want with the half piece you've given us.

We ought not to misbehave, but we should look as though we could.

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