Google

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


strtov

strtov(str)
:: str (文字列) を不定元に変える.
return
不定元
str
不定元として変換可能な文字列
  • 不定元として変換可能な文字列を不定元に変える.
  • 不定元として変換可能な文字列とは, 英小文字で始まり, 英字, 数字および記号 _ で作られる文字列である.
  • rtostr() と組合せて, プログラム中で自動的に不定元を生成したい時に 用いられる.
[0] A="afo";
afo
[1] for (I=0;I<3;I++) {B=strtov(A+rtostr(I)); print([B,type(B)]);}
[afo0,2]
[afo1,2]
[afo2,2]
参照
section rtostr, section type, section uc.


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