Jump to content

Recommended Posts

Posted

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

 

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...