EasyManua.ls Logo

WILLTEK 4403 - Chr; Instr; Len

WILLTEK 4403
484 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 6 RAPID!
Functions
WCDMA Options Version 6.20
189
CHR$
INSTR
LEN
Examples
ASC("A") will return ‘65’.
Syntax
CHR$(aNumber)
Parameters
aNumber is a valid numeric expression.
Description
Returns the character corresponding to the ASCII code of
aNumber as a string.
If
aNumber is outside the range 0...255, then its least
significant byte will be used (i.e. a modulo 256 operation
will be performed on
aNumber).
Should
aNumber have decimal places, then those will be
truncated (this means that there will be no rounding).
If this command is used on a variable that has not been
initialized before, ‘0’ will be returned.
Examples
a$=CHR$(65) assigns "A" to variable a$.
Syntax
INSTR([startPos, ] aString$ , search-
String$)
Parameters
startPos is a numeric expression, interpreted as posi-
tive integer.
aString$ and searchString$ are string expressions.
Description
Searches
aString$ for the first occurrence of search-
String$
.
The search will start at the position given by
startPos
or, if omitted, at the beginning of
aString$.
Return value is the position, where
searchString$
begins.
If
searchString$ is not found within aString$, ‘0’
will be returned.
Should
startPos have decimal places, then those will
be truncated (this means that there will be no rounding).
Examples
a$ = "international or national"
i = INSTR(a$, "national")
j = INST(8, a$, "national")
In this example, variable i will be set to ‘6’, while vari-
able
j will be set to ‘18’.
Syntax
LEN(aString$)
Parameters
aString$ is a string expression.
Description
Returns the number of characters contained in
aString$.

Table of Contents

Other manuals for WILLTEK 4403

Related product manuals