StrConvertSizeUnit
InstallShield 2024 » InstallScript Language Reference
The StrConvertSizeUnit function returns the appropriate display string for the InstallScript size unit constant that is specified.
Syntax
StrConvertSizeUnit (byval string nUnit);
Parameters
|
Parameter |
Description |
|||||||||||||||
|
nUnit |
Specify the unit constant that you want to be converted to a UI string. The following constants are supported:
|
Return Values
|
Return Value |
Description |
|
bytes |
The function converted the BYTES constant. |
|
KB |
The function converted the KBYTES constant. |
|
MB |
The function converted the MBYTES constant. |
|
GB |
The function converted the GBYTES constant. |
|
TB |
The function converted the TBYTES constant. |
|
Null ("") |
The function failed to convert nUnit. |
See Also