dewauto Posted March 1, 2023 Posted March 1, 2023 I added #include <String Constants.au3> and when I run the source I get an error: StringChr(): If @CR = As(StringChr(GUITrlRead($A)) throws undefined function error.
ioa747 Posted March 1, 2023 Posted March 1, 2023 you should probably give us something more I know that I know nothing
mistersquirrle Posted March 1, 2023 Posted March 1, 2023 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now