Solved

what does ths  mean

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

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 125 total points
Comment Utility
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
Comment Utility
"array value 1"         "is not equal to"         "array value 2"
0
 
LVL 3

Expert Comment

by:taycuong76
Comment Utility
Pls more concrete situation, ur question make confused.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
scoresAverage challenge 8 75
bigHeights  challenge 13 55
changePi Challenge 15 75
Windows Service to Receive TCP Packets 4 30
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now