Purpose
Syntax
notInLatter(arr1, arr2, in_or_not)
Input parameters
Array
arr1
copy from somewhere
Array
arr2
to somewhere else
String
in_or_out
Contains either
"in"
or
"not"
depending whether the function should return
the contents of the first array filtered to return only the contents that matched
the second array (
"in"
) or the contents that did not match the second array
(
"not"
).
Return values
Dictionary
keys
Returns the keys of the scripting dictionary object that contains the first array
filtered to have only the contents that matched the second array
(in_or_not =
"in")
or the contents that did not match the second array or
(in_or_not =
"not")
.
passOrFail()
Compares the expected and actual values of the prerequisite property and
determines whether the prerequisite property passes the check. The input
parameters can be generic numbers, size in MBs or GBs, CPU speed in MHz or
GHz, boolean, or strings.
Purpose
This function first calls the “changeMG()” on page 115 function to format and if
necessary convert the expected and actual values. It checks whether either value is
0, and if yes, it returns "FAIL" and exits. If the values are not 0, the function checks
whether the values are boolean, numeric, size in MBs or GBs, CPU speed in MHz
or GHz,, or strings. It then compares the values and returns the result.
Syntax
passOrFail(expect,real)
Input parameters
String
expect
The expected value for the prerequisite property.
String
real
The actual value for the prerequisite property.
Return values
String
passOrFail
Returns
"PASS"
or
"FAIL"
depending upon whether the expected value is equal
to or greater than the actual value.
Appendix E. Common functions for Windows systems
123
Содержание Prerequisite Scanner
Страница 1: ...Prerequisite Scanner Version 1 1 1 10 User s Guide ...
Страница 2: ......
Страница 3: ...Prerequisite Scanner Version 1 1 1 10 User s Guide ...
Страница 8: ...vi Prerequisite Scanner User s Guide ...
Страница 10: ...viii Prerequisite Scanner User s Guide ...
Страница 40: ...Figure 6 result txt file on Windows systems 30 Prerequisite Scanner User s Guide ...
Страница 46: ...36 Prerequisite Scanner User s Guide ...
Страница 68: ...58 Prerequisite Scanner User s Guide ...
Страница 78: ...Figure 11 precheck log file with the debug data 68 Prerequisite Scanner User s Guide ...
Страница 84: ...74 Prerequisite Scanner User s Guide ...
Страница 88: ...78 Prerequisite Scanner User s Guide ...
Страница 92: ...82 Prerequisite Scanner User s Guide ...
Страница 116: ...106 Prerequisite Scanner User s Guide ...
Страница 122: ...112 Prerequisite Scanner User s Guide ...
Страница 136: ...126 Prerequisite Scanner User s Guide ...
Страница 138: ...128 Prerequisite Scanner User s Guide ...
Страница 140: ...130 Prerequisite Scanner User s Guide ...
Страница 158: ...148 Prerequisite Scanner User s Guide ...
Страница 164: ...154 Prerequisite Scanner User s Guide ...
Страница 166: ...156 Prerequisite Scanner User s Guide ...
Страница 170: ...160 Prerequisite Scanner User s Guide ...
Страница 171: ......
Страница 172: ... Printed in USA ...