ASCII/ANSI teisendus stringides

JÀrgnevad funktsioonid on mÔeldud stringide ASCII ja ANSI mÀrgistike vahel teisendamiseks.

Asc Function (BASIC)

Tagastab stringavaldise esimese mÀrgi ASCII (American Standard Code for Information Interchange) vÀÀrtuse.

Chr Function

Tagastab mÀrgi, mis vastab mÀÀratud mÀrgikoodile.

Str Function

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

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

MĂ€rkuse ikoon

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


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

Dates are converted into locale-dependent strings.

Val Function

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

MĂ€rkuse ikoon

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.


CByte Function

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

Palun toeta meid!

Palun toeta meid!