v
pd
.cfg
, the latest version of the generic configuration file for the product, if
no file containing the version input parameter was found.
fmt()
Modifies a string by adding a specified number of characters from another string
to it and padding the other string with space characters if the length of the other
string is too short or truncating the other string if it is too long.
Purpose
This function searches for the
%#s
expression inside the
s
input parameter of type
string. The
%#s
expression determines the specified # number of characters from
the
args
input parameter that are added to the first string at the position of that
expression. If the specified # is greater than the length of the
args
input parameter,
the difference is padded by space characters. If the specified # is less than the
length of the
args
input parameter, the length is truncated by the difference. If the
specified # is 0, the full length of the
args
input parameter is added to the first
string at the appropriate position in the string.
Syntax
fmt(s, args)
Input parameters
String
s
Contains the string to modify by the specified # number of characters in the
%#s
expression inside that string.
Array
args
Contains the set of characters that modify the
s
input parameter.
Return values
String
result
Returns the modified string.
Example
fmt("Hello %5s!",array("Neo")) returns "Hello Neo
!" padded with extra space characters
fmt("Hello %5s!",array("Mr. Anderson")) returns "Hello Mr. A!" truncated to add only "Mr. A"
fmt("Hello %0s!",array("Mr. Anderson")) returns "Hello Mr. Anderson!"
formatForDisplay()
Formats the input parameter to make it readable.
Purpose
This function calls the “formatSizeForDisplay()” on page 121 function to format the
input parameter.
Syntax
formatForDisplay(val)
Input parameters
Variable
val
The variable to format.
120
Prerequisite Scanner: User's Guide
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 ...