Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
Example: Working with structured arrays
This JavaScript example shows you how to work with structured arrays.
Note The sample "teststructarray" has the following Database Dictionary format fields:
- id character
- arr array
- arr structure
- a number
- b character
This table has an array of type structure called "arr."
Note : To populate the elements of the field, the elements have to be populated in order.
var fvar = SCFile("teststructarray");
fvar.id="abc";
fvar.arr[2].a=10; // Add field 'a' first fvar.arr[2].b="Test"; // Then add field 'b'
print(fvar);
[C++ object SCFile] - teststructarray={[["abc",{{[, ]},, {[10, "Test"]}}]}
Caution Populating the fields out of order will cause an error.
For example, this will break the structure:
fvar.arr[2].b="Test"; // This will break the structure! fvar.arr[2].a=10;
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to ovdoc-ITSM@hp.com.
Help Topic ID:
Product:
Topic Title:
Feedback: