Google

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


newbytearray

newbytearray(len,[listorstring])
:: 長さ len の byte array を生成する.
return
byte array
len
自然数
listorstring
リストまたは文字列
  • newvect と同様にして byte array を生成する. similar to that of newvect.
  • 文字列で初期値を指定することも可能である.
  • byte array の要素のアクセスは配列と同様である.
[182] A=newbytearray(3);
|00 00 00|
[183] A=newbytearray(3,[1,2,3]);
|01 02 03|
[184] A=newbytearray(3,"abc");  
|61 62 63|
[185] A[0];
97
[186] A[1]=123;
123
[187] A;
|61 7b 63|
参照
section newvect.


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