Bvutt‖ASCII/ANSI Conversion in Strings

Contents

# vnjCN‖ASCII/ANSI Conversion in Strings

ZDP63‖The following functions convert strings to and from ASCII or ANSI code.

## qJX8t‖Asc Function (BASIC)

8jiwA‖Returns the ASCII (American Standard Code for Information Interchange) value of the first character in a string expression.

## DEUG6‖Chr Function

UTy3n‖Returns the character that corresponds to the specified character code.

## R4trJ‖Str Function

Z8JfH‖The Str function converts the contents of variables into a string. It handles numeric values, dates, strings and currency values.

UfMBA‖Non-negative numbers are preceded by a blank space. Negative numbers are preceded by a minus sign.

A5Fyi‖For numeric values the string returned by the Str function is locale-independent. Hence the dot is used as the decimal separator when needed.

HjAty‖If a string is passed as argument, it is returned without any changes.

nfPG2‖Dates are converted into locale-dependent strings.

## 6GkjG‖Val Function

VDZFx‖Use the Val function to convert a string that represents a number into numeric data type.

aQ5EY‖The string passed to the Val function is locale-independent. This means that commas are interpreted as thousands separators and a dot is used as the decimal separator.

## upwSd‖CByte Function

qP4eK‖Converts a string or a numeric expression to the Byte type.

Please support us!