Solved

what does ths  mean

Posted on 2006-10-27
5
237 Views
Last Modified: 2010-04-16
what does this condition: pat[1]<>pat[4] mean
0
Comment
Question by:deepen_antivirus
5 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 125 total points
ID: 17817875
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
 
LVL 21

Expert Comment

by:theGhost_k8
ID: 17817918
"array value 1"         "is not equal to"         "array value 2"
0
 
LVL 3

Expert Comment

by:taycuong76
ID: 17824730
Pls more concrete situation, ur question make confused.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
allswap challenge 6 133
Delphi: barcode reading on android platform 1 70
Create .bat File 16 71
Crashing when deleting value with no child in Binary Tree 4 25
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
This is an explanation of a simple data model to help parse a JSON feed
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question