EasyManuals Logo

Mitsubishi MELFA CR1D User Manual

Mitsubishi MELFA CR1D
458 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #328 background imageLoading...
Page #328 background image
4-315 Detailed Explanation of Functions
4MELFA-BASIC IV
Cvi
[Function]
Converts the character codes of the first two characters of a string into an integer.
[Format]
[Reference Program]
1 M1=Cvi("10ABC") ' &H3031 is assigned to M1.
[Explanation]
(1) Converts the character codes of the first two characters of a string into an integer.
(2) An error will be generated if the string consists of one character or less.
(3) Mki$ can be used to convert numerical values into a string.
(4) This can be used to reduce the amount of communication data when transmitting numerical data with
external devices.
[Reference]
Asc, Cvs, Cvd, Mki$, Mks$, Mkd$
Cvs
[Function]
Converts the character codes of the first four characters of a string into a single precision real number.
[Format]
[Reference Program]
1 M1=Cvs("FFFF") ' 12689.6 is assigned to M1.
[Explanation]
(1) Converts the character codes of the first four characters of a string into an single-precision real number.
(2) An error will be generated if the string consists of three character or less.
(3) Mks$ can be used to convert numerical values into a string.
[Reference]
Asc, Cvi, Cvd, Mki$, Mks$, Mkd$
<Numeric Variable>=Cvi(<Character String Expression>)
<Numeric Variable>=Cvs(<Character String Expression>)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELFA CR1D and is the answer not in the manual?

Mitsubishi MELFA CR1D Specifications

General IconGeneral
BrandMitsubishi
ModelMELFA CR1D
CategoryController
LanguageEnglish

Related product manuals