faustf Posted June 12, 2018 Share Posted June 12, 2018 hi guys, i know is very basical questions , but some time i lose me......., so i have a this example of script and i dont understund why not work , i read help of operator logical , and i suppose i can concatenate it #include <File.au3> _testand(@ScriptDir & '\TEMP\test.txt', '<div class="container table-wrap">', '0', '5') Func _testand($path, $match, $start, $to) Select Case $start = "" And $to = "" And $match <> "" MsgBox(0, '', 'example 1') Case $start = "" And $to <> "" And $match <> "" MsgBox(0, '', 'example 2') Case $start <> "" And $to <> "" And $match = "" MsgBox(0, '', 'example 3') EndSelect EndFunc ;==>_testand anyone can explame me why i concatenate 2 And the case not wrk ?? thankz Link to comment Share on other sites More sharing options...
Developers Jos Posted June 12, 2018 Developers Share Posted June 12, 2018 as usual: Post an example we can run and demonstrates your "issue". Care to share which part doesn't work and what you are expecting? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
pixelsearch Posted June 12, 2018 Share Posted June 12, 2018 faustf: add this 4th case and see the result Case $start = 0 And $to <> "" And $match <> "" MsgBox(0, '', 'example 4') faustf 1 Link to comment Share on other sites More sharing options...
faustf Posted June 12, 2018 Author Share Posted June 12, 2018 thankzzzzz Link to comment Share on other sites More sharing options...
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