what does ths mean

what does this condition: pat[1]<>pat[4] mean
deepen_antivirusAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:
what programming language?
what context?

usually, a notation x[i]  means that x is an array, and you take the array item number i from it.

so pat[1] <> pat[4] compares array item 1 with array item 4 to see if they differ.

note: some languages/array types have a 0-based indexing, so x[1] actually means second item in the aray
0
 
K VDatabase ConsultantCommented:
"array value 1"         "is not equal to"         "array value 2"
0
 
taycuong76Commented:
Pls more concrete situation, ur question make confused.
0
All Courses

From novice to tech pro — start learning today.