Google

Go to the first, previous, next, last section, table of contents.


rtostr

rtostr(obj)
:: obj を文字列に変える.
return
文字列
obj
任意
  • 任意のオブジェクト obj を文字列に変える.
  • 整数などを文字列に変換して変数名と結合することにより, 添字付きの不定元を生成する場合に多く用いられる.
  • 逆に, 文字列を不定元に変換する時には, strtov を用いる.
[0] A=afo;
afo
[1] type(A);
2
[2] B=rtostr(A); 
afo
[3] type(B);
7
[4] B+"1";
afo1
参照
section strtov, section type.


Go to the first, previous, next, last section, table of contents.