NetWare、Symbian OS、UNIX、Windows、および Windows CE で有効です。
Str 関数によって、数値表記の値が文字列に変換されます。
関数の形式
Str(n as Integer) as String
変換対象の整数を示します。
この関数によって、パラメータ n で指定された値を表す文字列が返されます。
例:
以下の例では、文字「ABC」の ASCII 値が画面に表示されます。
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.
|
|