Description

Allows the storage of binary data that might otherwise contain system delimiters.

Syntax

internal = IConv (string"VB")

Parameters

IConv (VB) accepts arguments for the following parameters.

ParameterDescription
stringCan contain any possible values, and is intended to contain binary data that has been generated outside the OpenInsight environment. By using the IConv VB conversion, you can store this data within OpenInsight for Workgroups, process it with OpenInsight tools, and then reconvert it to its original form (with changes) by using the OConv VB conversion. Some possible byte values (ASCII 0 and ASCII 249-255) cannot usually exist as data within an OpenInsight environment, without risking confusion with their functions as system delimiters. If such values as ASCII 253 and 254 were allowed to exist as data in an OpenInsight environment, they would be interpreted by OpenInsight tools in their roles as data delimiters. This conversion mode stores such values in a safe form that cannot be misinterpreted by the system. Use OConv to restore these values to their single-byte values.

The following values are affected by the VB conversion:

Character Value
Char(0)
Char(249)
Char(250)
Char(251)
Char(252)
Char(253)
Char(254)
Char(255)

Example

The following example shows how to convert binary data into internal format.

/* The following values are converted from single-byte values to their corresponding internal format: */
variable = 1:@VM:2
new_value = IConv(variable, "VB")
* where the contents of new_value is now:
31 00 05 32
  • No labels