Valid on NetWare, Symbian OS, UNIX, Windows and Windows CE
The Str function converts the value of a numeric expression to a string.
Function format:
Str(n as Integer) as String
Identifies the integer that is to be converted.
The function returns the string representing the value specified by the parameter n.
Example:
This example prints the ASCII values of the letters "ABC" on the screen.
Dim OutStr as string
OutStr = Str(Asc("A"))+" "+Str(Asc("B"))+" "+Str(Asc("C"))
Print "AscII Values of the letters in ""ABC"" is: " + OutStr
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|