Purpose
This function takes the array that is passed as an input parameter and returns a
string representation of the contents of that array.
Syntax
arrayToString(arr)
Input parameters
Array
arr
Contains the array.
Return values
String
result
Returns a string representation of the array, with each item separated by a
comma.
bigthan()
Calculates the difference between the expected and actual value of the prerequisite
property if that prerequisite property is a size in MBs or GBs.
Purpose
This function first calls the “changeMG()” function to change the expected and
actual values of the prerequisite property to MBs if required. It then checks
whether either returned value from the functions is null, and if either value is null,
the returned value of the function is 0MB and the function exits. It checks for MB
or GB in either value, converts to the MBs if required. It calculates the difference
between the final formatted values and returns the result.
Syntax
bigthan(expect,real)
Input parameters
String
expect
The expected value of the prerequisite property.
String
real
The actual value of the prerequisite property.
Return values
String
bigthan
Returns the difference in MBs or 0MBs if there is no difference.
changeMG()
Formats the input parameter to remove any additional digit grouping characters
from it and returns the formatted parameter unless the input parameter contains
MBs or GBs. If it does, it converts the input parameter to either GBs or MBs
respectively.
Appendix E. Common functions for Windows systems
115
Summary of Contents for Prerequisite Scanner
Page 1: ...Prerequisite Scanner Version 1 1 1 10 User s Guide ...
Page 2: ......
Page 3: ...Prerequisite Scanner Version 1 1 1 10 User s Guide ...
Page 8: ...vi Prerequisite Scanner User s Guide ...
Page 10: ...viii Prerequisite Scanner User s Guide ...
Page 40: ...Figure 6 result txt file on Windows systems 30 Prerequisite Scanner User s Guide ...
Page 46: ...36 Prerequisite Scanner User s Guide ...
Page 68: ...58 Prerequisite Scanner User s Guide ...
Page 78: ...Figure 11 precheck log file with the debug data 68 Prerequisite Scanner User s Guide ...
Page 84: ...74 Prerequisite Scanner User s Guide ...
Page 88: ...78 Prerequisite Scanner User s Guide ...
Page 92: ...82 Prerequisite Scanner User s Guide ...
Page 116: ...106 Prerequisite Scanner User s Guide ...
Page 122: ...112 Prerequisite Scanner User s Guide ...
Page 136: ...126 Prerequisite Scanner User s Guide ...
Page 138: ...128 Prerequisite Scanner User s Guide ...
Page 140: ...130 Prerequisite Scanner User s Guide ...
Page 158: ...148 Prerequisite Scanner User s Guide ...
Page 164: ...154 Prerequisite Scanner User s Guide ...
Page 166: ...156 Prerequisite Scanner User s Guide ...
Page 170: ...160 Prerequisite Scanner User s Guide ...
Page 171: ......
Page 172: ... Printed in USA ...